Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

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 rows

VDKTable::__rwproperty VDKTable  ,
int 
 

Sets/gets spacing between columns

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 Aug 17 12:39:51 2004 for vdk 2.4.0 by doxygen 1.3.7