type Gtk_Button_Box_Record is new Gtk.Box.Gtk_Box_Record with private;
type Gtk_Button_Box is access all Gtk_Button_Box_Record'Class;
Layout_Style_Property : constant Gtk.Enums.Property_Gtk_Button_Box_Style;
Child_Secondary_Property : constant Glib.Properties.Property_Boolean;
Secondary_Property : constant Glib.Properties.Property_Boolean;
Child_Internal_Pad_X_Property : constant Glib.Properties.Property_Int;
Child_Internal_Pad_Y_Property : constant Glib.Properties.Property_Int;
Child_Min_Height_Property : constant Glib.Properties.Property_Int;
Child_Min_Width_Property : constant Glib.Properties.Property_Int;
function Get_Type return Gtk.Gtk_Type;
procedure Set_Layout
| ( | Button_Box | : access Gtk_Button_Box_Record; |
| Layout_Style | : Enums.Gtk_Button_Box_Style); |
function Get_Layout
| ( | Button_Box | : access Gtk_Button_Box_Record) return Enums.Gtk_Button_Box_Style; |
procedure Set_Child_Secondary
| ( | Button_Box | : access Gtk_Button_Box_Record; |
| Child | : access Gtk.Widget.Gtk_Widget_Record'Class; | |
| Is_Secondary | : Boolean); |
function Get_Child_Secondary
| ( | Widget | : access Gtk_Button_Box_Record; |
| Child | : access Gtk.Widget.Gtk_Widget_Record'Class) return Boolean; |
procedure Set_Child_Size
| ( | Button_Box | : access Gtk_Button_Box_Record; |
| Min_Width | : Gint; | |
| Min_Height | : Gint); |
procedure Get_Child_Size
| ( | Button_Box | : access Gtk_Button_Box_Record; |
| Min_Width | : out Gint; | |
| Min_Height | : out Gint); |
procedure Set_Child_Ipadding
| ( | Button_Box | : access Gtk_Button_Box_Record; |
| Ipad_X | : Gint; | |
| Ipad_Y | : Gint); |
A Gtk_Button_Box is a special type of Gtk_Box specially tailored to contain buttons.
This is only a base class for Gtk_Hbutton_Box and Gtk_Vbutton_Box which provide a way to arrange their children horizontally (resp. vertically).
You can not instantiate a Gtk_Button_Box directly, and have to use one the above two instead.
Binding from C File version 2.8.17
<testgtk>create_button_box.adb</testgtk>