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

Method PrependPage

src/SFGUI/Notebook.cpp:112–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112Notebook::IndexType Notebook::PrependPage( Widget::Ptr child, Widget::Ptr tab_label ) {
113 return InsertPage( child, tab_label, 0 );
114}
115
116Notebook::IndexType Notebook::InsertPage( Widget::Ptr child, Widget::Ptr tab_label, IndexType position ) {
117 if( ( position >= GetPageCount() ) || ( position < 0 ) ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected