Description
A
Gtk_Table is a container that can contain any number of children.
Each of them is attached to a specific row and a specific column in
widget.
Every row in the table must have the same height, and every column must
have the same width if the table was said as Homogeneous. But you can
also decide to have an heterogeneous table, where the width and height
are set by the children contained in the table.
Check out the Gtk_Sheet widget for a different kind of table that can
also contain text and images in a more efficient way.
Subprograms
-
procedure Gtk_New
(Widget : out Gtk_Table;
Rows : Guint;
Columns : Guint;
Homogeneous : Boolean);
-
procedure Initialize
(Widget : access Gtk_Table_Record'Class;
Rows : Guint;
Columns : Guint;
Homogeneous : Boolean);
-
-
procedure Resize
(Table : access Gtk_Table_Record;
Rows : Guint;
Columns : Guint);
-
procedure Attach
(Table :
access Gtk_Table_Record;
Child :
access Gtk.Widget.Gtk_Widget_Record'Class;
Left_Attach : Guint;
Right_Attach : Guint;
Top_Attach : Guint;
Bottom_Attach : Guint;
Xoptions : Gtk_Attach_Options := Expand
or Fill;
Yoptions : Gtk_Attach_Options := Expand
or Fill;
Xpadding : Guint := 0;
Ypadding : Guint := 0);
-
procedure Attach_Defaults
(Table :
access Gtk_Table_Record;
Widget :
access Gtk.Widget.Gtk_Widget_Record'Class;
Left_Attach : Guint;
Right_Attach : Guint;
Top_Attach : Guint;
Bottom_Attach : Guint);
-
procedure Set_Row_Spacing
(Table : access Gtk_Table_Record;
Row : Guint;
Spacing : Guint);
-
procedure Set_Col_Spacing
(Table : access Gtk_Table_Record;
Column : Guint;
Spacing : Guint);
-
procedure Set_Row_Spacings
(Table : access Gtk_Table_Record; Spacing : Guint);
-
procedure Set_Col_Spacings
(Table : access Gtk_Table_Record; Spacing : Guint);
-
procedure Set_Homogeneous
(Table : access Gtk_Table_Record; Homogeneous : Boolean);
-
function Get_Row_Spacing
(Table : access Gtk_Table_Record;
Row : Guint) return Guint;
-
function Get_Col_Spacing
(Table : access Gtk_Table_Record;
Column : Guint) return Guint;
-
function Get_Default_Row_Spacing
(Table : access Gtk_Table_Record) return Guint;
-
function Get_Default_Col_Spacing
(Table : access Gtk_Table_Record) return Guint;
-
function Get_Homogeneous
(Table : access Gtk_Table_Record) return Boolean;