| 300 | } |
| 301 | |
| 302 | void Notebook::SetTabLabel( Widget::Ptr child, Widget::Ptr tab_label ) { |
| 303 | auto page_number = GetPageOf( child ); |
| 304 | |
| 305 | if( page_number < 0 ) { |
| 306 | return; |
| 307 | } |
| 308 | |
| 309 | m_children[static_cast<std::size_t>( page_number )].tab_label = tab_label; |
| 310 | } |
| 311 | |
| 312 | void Notebook::SetCurrentPage( IndexType page_number ) { |
| 313 | auto old_page = m_current_page; |
nothing calls this directly
no outgoing calls
no test coverage detected