ptkFAQ

 view release on metacpan or  search on metacpan

etc/Table.html  view on Meta::CPAN

 Possible options are :
<dl>
 <dt>-anchor
   <dd> Specifies how the slave window will be arranged if there is
extra space in the span surrounding the window.  may have any of the
forms accepted by Tk_GetAnchor.  For example, if is center then the
window is centered in the rows and columns it spans; if is w then the
window will be drawn such it touches the leftmost edge of the
span. This option defaults to center.

 <dt>-columnspan 
  <dd> Specifies the number of columns spanned by the slave. The
default span is 1.

 <dt>-fill
  <dd> Indicates if the slave should be expanded to occupy any extra
space in the span.  must be one of the following: none, x, y, both.
If is x, the width slave window is expanded.  If is y, the height is
expanded. The default is none.

 <dt>-ipadx 

etc/Table.html  view on Meta::CPAN

    2, 2, 'Entry';
#
Cell $table 'configure',[1, 2], -anchor => "se";
# $table->Row('forget', 0);
# $table->Column('forget', 1);
# $table->Column('configure', 1);
#
$table1 = Create $table 
    1, 0, 'Table', -anchor => 'nw',-border => 5, -relief => 'raised';
Create $table1
    0, 0, 'Button', -text => "But 1", -columnspan => 2, -fill => 'both',
    0, 2, 'Button', -text => "But 2", -rspan => 2, -fill => 'both',
    1, 0, 'Button', -text => "But 4", -rspan => 2, -fill => 'both',
    2, 1, 'Button', -text => "But 3", -cspan => 2, -fill => 'both',
    1, 1, 'Button', -text => "But 5", -fill => 'both';
#
$table0 = Create $table 
    1, 1, 'Table', -border => 10, -relief => 'sunken', -fill => 'both';
#
$tablet = Create $table0 0, 1, 'Table',-fill => 'x';
Create $tablet 



( run in 0.302 second using v1.01-cache-2.11-cpan-a5abf4f5562 )