   #home GTK Classes GtkTable::homogeneous GtkTableChild::widget

         GTK Classes
   Prev  GtkTableChild  Next
     _________________________________________________________________

GtkTableChild

     Helper class for GtkTable.

Object Hierarchy

   GtkTableChild

Description

     A GtkTableChild is an array of information about a GtkTable's
     child, which is itself stacked in the array that makes up the
     table's children property.

     Accessing these properties is therefore a two-tiered process:


<?php

$children = $table->children;
/*returns an array of GtkTableChild elements*/

for($i = 0; $i < count($children); $i++) {
$child = $children[$i];
/*returns the individual GtkTableChild element from the $children array's
current pointer position*/

$widget = $child->widget;
/*returns the widget property of the GtkTableChild*/

echo $widget->get_name()."\n";
}

?>


Properties

   widget:

     The child widget.

   left_attach:
     Leftmost anchor.

   right_attach:
     Rightmost anchor.

   top_attach:
     Upper anchor.

   bottom_attach:
     Base anchor.

   xpadding:
     Padding to left and right.

   ypadding:
     Padding to top and bottom.

   xexpand:
     Child expansion left to right.

   yexpand:
     Child expansion top to bottom.

   xshrink:
     Child shrink left to right.

   yshrink:
     Child shrink top to bottom.

   xfill:
     Child fill left to right.

   yfill:
     Child fill top to bottom.
     _________________________________________________________________

   Prev                   Home                   Next
   GtkTable::homogeneous   Up   GtkTableChild::widget
