Gtk.Table.new
function new(rows:Number, columns:Number, homogeneous:Boolean):Gtk.Widget { // Gjs wrapper for gtk_table_new() }
Used to create a new table widget. An initial size must be given by specifying how many rows and columns the table should have, although this can be changed later with Gtk.Table.prototype.resize. rows and columns must both be in the range 1 .. 65535. For historical reasons, 0 is accepted as well and is silently interpreted as 1.
- rows
The number of rows the new table should have.
- columns
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.
- Returns
A pointer to the newly created table widget.