type Gtk_Fixed_Record is new Gtk.Container.Gtk_Container_Record with private;
type Gtk_Fixed is access all Gtk_Fixed_Record'Class;
X_Property : constant Glib.Properties.Property_Int;
Y_Property : constant Glib.Properties.Property_Int;
procedure Initialize
( | Fixed | : access Gtk_Fixed_Record'Class); |
function Get_Type return Gtk.Gtk_Type;
procedure Put
( | Fixed | : access Gtk_Fixed_Record; |
Widget | : access Gtk.Widget.Gtk_Widget_Record'Class; | |
X | : Gint; | |
Y | : Gint); |
procedure Move
( | Fixed | : access Gtk_Fixed_Record; |
Widget | : access Gtk.Widget.Gtk_Widget_Record'Class; | |
X | : Gint; | |
Y | : Gint); |
procedure Set_Has_Window
( | Fixed | : access Gtk_Fixed_Record; |
Has_Window | : Boolean := False); |
function Get_Has_Window
( | Fixed | : access Gtk_Fixed_Record) return Boolean; |
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.
Binding from C File version 2.8.17
<testgtk>create_fixed.adb</testgtk>