| 23 | } |
| 24 | |
| 25 | void Box::PackEnd( Widget::Ptr widget, bool expand, bool fill ) { |
| 26 | if( IsChild( widget ) ) { |
| 27 | return; |
| 28 | } |
| 29 | |
| 30 | // It's important to create the ChildInfo object first, so that the |
| 31 | // HandleAdd() method recognized the widget as a correctly packed one. |
| 32 | m_box_children.push_back( ChildInfo( widget, expand, fill ) ); |
| 33 | Add( widget ); |
| 34 | } |
| 35 | |
| 36 | void Box::PackStart( Widget::Ptr widget, bool expand, bool fill ) { |
| 37 | if( IsChild( widget ) ) { |