The Gtk_Fixed widget is a container which can place child widgets at fixed positions and with fixed sizes, given in pixels.
Note that it is usually bad practice to use the Gtk_Fixed container in GtkAda. Instead, you should consider using one of the other many containers available, that will allow you to handle resizing of your windows, as well as font size changes easily.
Widget Hierarchy |
---|
Gtk_Object (see section Package Gtk.Object) \___ Gtk_Widget (see section Package Gtk.Widget) \___ Gtk_Container (see section Package Gtk.Container) \___ Gtk_Fixed (see section Package Gtk.Fixed) |
Subprograms |
---|
procedure Gtk_New (Fixed : out Gtk_Fixed); | ||
Create a new fixed container.
| ||
function Get_Type return Gtk.Gtk_Type; | ||
Return the internal value associated with a Gtk_Fixed.
| ||
function Get_Children (Fixed : access Gtk_Fixed_Record) return Widget.Widget_List.Glist; | ||
Return the list of Widgets contained in a Gtk_Fixed.
| ||
procedure Move (Fixed : access Gtk_Fixed_Record; Widget : access Gtk.Widget.Gtk_Widget_Record'Class; X : in Gint16; Y : in Gint16); | ||
Move a child of a GtkFixed container to the given position. | ||
procedure Put (Fixed : access Gtk_Fixed_Record; Widget : access Gtk.Widget.Gtk_Widget_Record'Class; X : in Gint16; Y : in Gint16); | ||
Add Widget to a Fixed container at the given position. |