VDKTable Class Reference

Provides a table widget. More...

#include <tables.h>

Inheritance diagram for VDKTable:

VDKObjectContainer VDKObject VDKNotCopyAble

List of all members.

Public Member Functions


Detailed Description

Provides a table widget.

EXAMPLES
In ./testvdk/entrieswin.cc

Constructor & Destructor Documentation

VDKTable::VDKTable ( VDKForm owner,
int  rows,
int  cols,
int  homogeneous = false 
)

Constructor

Parameters:
owner 
rows row number
cols columns number
homogeneous if all cells share the same space

VDKTable::~VDKTable (  )  [virtual]

Destructor


Member Function Documentation

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

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

Parameters:
obj object to be attached
row row coordinate
cols column coordinate
opt options, can be:
  • GTK_EXPAND
  • GTK_SHRINK
  • GTK_FILL (can be ored togheter)
padding 


The documentation for this class was generated from the following files:

Generated on Tue May 6 03:40:11 2008 for vdk 2.4.0 by  doxygen 1.5.5