Description
Base class for widgets that have children.
When writing your own container widgets, you need to fully handle the
size_allocate event, by also resizing all the children (based on their size
requisition). The size_allocate event will always be sent to the parent
when a child calls Gtk.Widget.Queue_Resize.
Subprograms
-
-
procedure Set_Border_Width
(Container : access Gtk_Container_Record;
Border_Width : Guint);
function Get_Border_Width
(Container : access Gtk_Container_Record) return Guint;
-
-
-
procedure Set_Resize_Mode
(Container : access Gtk_Container_Record;
Resize_Mode : Gtk.Enums.Gtk_Resize_Mode);
function Get_Resize_Mode
(Container : access Gtk_Container_Record)
return Gtk.Enums.Gtk_Resize_Mode;
-
function Get_Children
(Container : access Gtk_Container_Record)
return Gtk.Widget.Widget_List.Glist;
-
Focus
-
procedure Set_Focus_Chain
(Container : access Gtk_Container_Record;
Focusable_Widgets : Gtk.Widget.Widget_List.Glist);
-
procedure Get_Focus_Chain
(Container : access Gtk_Container_Record;
Focusable_Widgets : out Gtk.Widget.Widget_List.Glist;
Success : out Boolean);
-
procedure Unset_Focus_Chain (Container : access Gtk_Container_Record);
-
-
-
Properties
-
procedure Child_Set_Property
(Container :
access Gtk_Container_Record;
Child :
access Gtk.Widget.Gtk_Widget_Record'Class;
Property_Name : String;
Value : Glib.Values.GValue);
procedure Child_Get_Property
(Container :
access Gtk_Container_Record;
Child :
access Gtk.Widget.Gtk_Widget_Record'Class;
Property_Name : String;
Value :
out Glib.Values.GValue);
-
-
-
Forall functions
-
procedure Forall
(Container : access Gtk_Container_Record;
Func : Gtk_Callback);
-
procedure Foreach
(Container : access Gtk_Container_Record;
Func : Gtk_Callback);
Widget-level methods
-
procedure Set_Reallocate_Redraws
(Container : access Gtk_Container_Record;
Needs_Redraws : Boolean := False);
-
function Child_Type
(Container :
access Gtk_Container_Record)
return Gtk.Gtk_Type;
-
procedure Resize_Children (Container : access Gtk_Container_Record);
Signals emission
-
procedure Check_Resize (Container : access Gtk_Container_Record);