|
vdk 2.4.0
|
One of the most used widget containers. More...
#include <boxes.h>
One of the most used widget containers.
This class provides boxes used as VDKObject containers
| VDKBox::VDKBox | ( | VDKForm * | owner = (VDKForm*) NULL, |
| int | mode = v_box |
||
| ) |
Constructor
| owner | the form that owns box |
| mode | either vertical (mode == v_box) or horizontal (mode == h_box) |
| VDKBox::~VDKBox | ( | ) | [virtual] |
Destructor
| void VDKBox::Add | ( | VDKObject * | obj, |
| int | justify = l_justify, |
||
| int | expand = TRUE, |
||
| int | fill = TRUE, |
||
| int | padding = 0 |
||
| ) | [virtual] |
Adds an object to the box
| obj | the object to be added |
| justify | how the object has to be packed into box, can be one of the following
|
| expand | object will expand |
| fill | object will fill all available space |
| padding | object with be padded with <padding> pixels |
Reimplemented from VDKObjectContainer.
1.7.6.1