gltk
0.3
a C++ widget library built on GLUT
|
A Container that lines up its children. More...
#include <box.hh>
Public Member Functions | |
Box (Orientation orientabtion=ORIENTATION_HORIZONTAL, int spacing=0) | |
initialize the Box for given orientation and spacing | |
void | pack_start (Widget *child) |
add a child Widget to the left or top end of the lineup | |
Protected Attributes | |
int | spacing |
natural spacing between child Widgets |
A Container that lines up its children.
This is a linear layout of Widgets. The Box model decomposes a Widget layout into a hierachy of horizontal and vertical lineups.
Box::Box | ( | Orientation | orientabtion = ORIENTATION_HORIZONTAL , |
int | spacing = 0 |
||
) |
initialize the Box for given orientation and spacing
orientabtion | set orientation |
spacing | set spacing between widgets |