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 at index. Parameter index is a position in the table in the form row, column, where row and column 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. Parameter slave is the pathname of the window, which must already exist, to be arranged inside of master. Parameters option and value 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 by option, where item is either a row or column index or the pathname of a slave window. Parameter item can be in any form described for the configure method. If no item argument is provided, the configuration option is for the table itself. Parameter option 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 argument item is omitted, ...

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.