Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

VDKTable Class Reference

Provides a table widget. More...

#include <tables.h>

Inheritance diagram for VDKTable:

VDKObjectContainer VDKObject VDKNotCopyAble List of all members.

Public Methods


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 Sun May 5 01:29:46 2002 for vdk 2.0.1 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002