Webhosting and cheap domain registration service
  

 Home

GTK Classes
Prev GtkTable Next

GtkTable

Container that provides a flexible grid for packing its children.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkTable

Description

A GtkTable is a very adaptable container widget that is capable of having the layout of its children structured in both directions. There is a more simplistic version of a similar container in GtkFixed, but GtkTable offers the advantage that the child positions can be relative rather than absolute. The table's stucturing is similar to that of a GtkBox.

As with the box classes, there is an underlying single-child structure containing packing information, which consitutes one element of the array of child data in a GtkTable. This element is known as a GtkTableChild, and can be accessed through the children property inherited from GtkContainer. The child objects themselves can also be accessed more directly through the children() method inherited from the same ancestor.

Constructor

GtkTable ([int rows = 1 , [int columns = 1 , [bool homogeneous = FALSE ]]]);

-- Creates a container whose children are arranged on a grid.

Methods

resize()
  Resizes to accommodate changes.
attach()
  Means of arranging child widgets in a GtkTable.
attach_defaults()
  Packing defaults.
set_row_spacing()
  Determines the space below a given row.
set_col_spacing()
  Determines the space to the right of a given column.
set_row_spacings()
  Determines the spacing between all rows.
set_col_spacings()
  Determines the spacing between all columns.
set_homogeneous()
  Sets all child allocations to size of largest request.

Properties

children:
  Array of GtkTableChild elements.
nrows:
  Number of rows.
ncols:
  Number of columns.
column_spacing:
  Spacing between columns.
row_spacing:
  Spacing between rows.
homogeneous:
  Determines whether child sizing is homogeneous.


Prev Home Next
GtkStyle::bg_pixmap Up GtkTable Constructor

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

 
 
Quotes:
The vast majority of human beings dislike and even dread all notions with which they are not familiar. Hence it comes about that at their first appearance innovators have always been derided as fools and madmen.  
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php