vdk 2.4.0
|
Provides a table widget. More...
#include <tables.h>
Provides a table widget.
VDKTable::VDKTable | ( | VDKForm * | owner, |
int | rows, | ||
int | cols, | ||
int | homogeneous = false |
||
) |
Constructor
owner | |
rows | row number |
cols | columns number |
homogeneous | if all cells share the same space |
VDKTable::~VDKTable | ( | ) | [virtual] |
Destructor
VDKTable::__rwproperty | ( | VDKTable | , |
int | |||
) |
Sets/gets spacing between columns
VDKTable::__rwproperty | ( | VDKTable | , |
int | |||
) |
Sets/gets spacing between rows
void VDKTable::Add | ( | VDKObject * | obj, |
int | left_attach, | ||
int | right_attach, | ||
int | top_attach, | ||
int | bot_attach | ||
) | [virtual] |
Attach an object to table usinf default attach parameters
obj | obejct to be attached |
left_attach | cell |
right_attach | cell |
top_attach | cell |
bot_attach | cell |
Reimplemented from VDKObjectContainer.
void VDKTable::AddToCell | ( | VDKObject * | obj, |
int | row, | ||
int | col, | ||
int | opt = int(GTK_FILL | GTK_EXPAND) , |
||
int | padding = 1 |
||
) |
Simplified attaching using row,col coordinates, sets options for both row and column
obj | object to be attached |
row | row coordinate |
cols | column coordinate |
opt | options, can be:
|
padding |