Description
A
Gtk_Alignment controls the size and alignment of its single child inside
the area allocated to the alignment widget.
The scale/size settings indicate how much the child will expand to fill
the container. The values should be in the range 0.0 (no expansion) to 1.0
(full expansion). Note that the scale only indicates the minimal size for
the child, it does not force an absolute size.
The alignment settings indicate where in the alignment widget the child
should be located. The values are in the range 0.0 (top or left) to 1.0
(bottom or right). These settings are irrelevant if the child is fully
expanded.
Subprograms
-
procedure Gtk_New
(Alignment : out Gtk_Alignment;
Xalign : Gfloat;
Yalign : Gfloat;
Xscale : Gfloat;
Yscale : Gfloat);
-
procedure Initialize
(Alignment : access Gtk_Alignment_Record'Class;
Xalign : Gfloat;
Yalign : Gfloat;
Xscale : Gfloat;
Yscale : Gfloat);
-
-
procedure Set
(Alignment : access Gtk_Alignment_Record;
Xalign : Gfloat;
Yalign : Gfloat;
Xscale : Gfloat;
Yscale : Gfloat);
-
function Get_Xalign (Alignment : access Gtk_Alignment_Record) return Gfloat;
-
function Get_Yalign (Alignment : access Gtk_Alignment_Record) return Gfloat;
-
function Get_Xscale (Alignment : access Gtk_Alignment_Record) return Gfloat;
-
function Get_Yscale (Alignment : access Gtk_Alignment_Record) return Gfloat;
-
procedure Set_Padding
(Alignment : access Gtk_Alignment_Record;
Padding_Top : Guint;
Padding_Bottom : Guint;
Padding_Left : Guint;
Padding_Right : Guint);
procedure Get_Padding
(Alignment : access Gtk_Alignment_Record;
Padding_Top : out Guint;
Padding_Bottom : out Guint;
Padding_Left : out Guint;
Padding_Right : out Guint);