MCPcopy Create free account
hub / github.com/TankOs/SFGUI / Add

Method Add

src/SFGUI/ScrolledWindow.cpp:336–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336void ScrolledWindow::Add( Widget::Ptr /*widget*/ ) {
337#if defined( SFGUI_DEBUG )
338 std::cerr << "SFGUI warning: Widgets can only be added to a ScrolledWindow with a Viewport.\n";
339#endif
340}
341
342void ScrolledWindow::Remove( Widget::Ptr widget ) {
343 if( m_viewport && m_viewport->GetChild() == widget ) {

Callers 2

CreateMethod · 0.45
AddWithViewportMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected