Name
table
- table
operation
[arg arg
...] Arrange widgets in a table. The alignment of widgets is determined by their row and column positions and the number of rows or columns that they span. The following operations are defined:
- table
master
[slave index option value
...] Add the widget
slave
to the table atindex
. Parameterindex
is a position in the table in the formrow
,column
, whererow
andcolumn
are the respective row and column numbers and 0,0 is the upper leftmost position. If a table doesn’t exist for master, one is created. Parameterslave
is the pathname of the window, which must already exist, to be arranged inside of master. Parametersoption
andvalue
are described later in the "Slave Options" section.- table arrange
master
Force the table to compute its layout immediately rather than waiting until the next idle point.
- table cget
master
[item
]option
Return the current value of the configuration option specific to
item
given byoption
, whereitem
is either a row or column index or the pathname of a slave window. Parameteritem
can be in any form described for the configure method. If noitem
argument is provided, the configuration option is for the table itself. Parameteroption
may be any of the options described in the appropriate options section for the item.- table configure
master
[item
...] [option
[value
[option value
...] ] ] Query or modify the configuration options specific to
item
in the same manner as the standard widget configure method. If the argumentitem
is omitted, ...
- table
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.