Package: gtk

Function gtk:table-new

Lambda List

gtk:table-new (rows columns &optional homogeneous)

Arguments

rows -- an unsigned integer with the number of rows the new table should have
columns -- an unsigned integer with the number of columns the new table should have
homogeneous -- if set to true, all table cells are resized to the size of the cell containing the largest widget, the default is false

Return Value

The the newly created gtk:table widget.

Details

Used to create a new table. An initial size must be given by specifying how many rows and columns the table should have, although this can be changed later with the gtk:table-resize function. The rows and columns arguments must both be in the range 1 ... 65535. For historical reasons, 0 is accepted as well and is silently interpreted as 1.

Warning

The gtk:table-new function has been deprecated since version 3.4 and should not be used in newly written code. Use the gtk:grid widget with the gtk:grid-new function.
 

See also

2024-6-27