Constructor

GtkTablenew

deprecated: 3.4 

Declaration [src]

GtkWidget*
gtk_table_new (
  guint rows,
  guint columns,
  gboolean homogeneous
)

Description [src]

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_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.

Deprecated since: 3.4

Use gtk_grid_new().

Parameters

rows

Type: guint

The number of rows the new table should have.

columns

Type: guint

The number of columns the new table should have.

homogeneous

Type: gboolean

If set to TRUE, all table cells are resized to the size of the cell containing the largest widget.

Return value

Type: GtkWidget

A pointer to the newly created table widget.

The data is owned by the called function.