[Contents] [Back] [Prev] [Up] [Next] [Forward]

# Package Gtk.Hbutton`_`Box

A Gtk_Hbutton_Box is a specific Gtk_Button_Box that organizes its children horizontally. The beginning of the box (when you add children with Gtk.Box.Pack_Start) is on the left of the box. Its end (for Gtk.Box.Pack_End) is on the right.

- Gtk.Hbutton_Box Widget Hierarchy
- Gtk.Hbutton_Box Subprograms

## Widget Hierarchy

    Gtk_Object                    (see section Package Gtk.Object)
       \___ Gtk_Widget            (see section Package Gtk.Widget)
          \___ Gtk_Container      (see section Package Gtk.Container)
             \___ Gtk_Box         (see section Package Gtk.Box)
                \___ Gtk_Button_Box (see section Package Gtk.Button_Box)
                   \___ Gtk_Hbutton_Box (see section Package Gtk.Hbutton_Box)

## Subprograms

    procedure Gtk_New
      (Widget             : out    Gtk_Hbutton_Box);
| Create a new horizontal button box.
    function Get_Type              return Gtk.Gtk_Type;
| Return the internal value associated with a Gtk_HButton_Box.
    procedure Set_Spacing_Default
      (Spacing            : in     Gint);
| Set the default spacing (space between two adjacent children). This is done for all the Hbutton_Boxes in your application. This can be overridden for a specific box by calling Gtk.Button_Box.Set_Spacing.
    function Get_Spacing_Default   return Gint;
| Return the default spacing to use for all Hbutton_Boxes in your application that don't have a specific value.
    procedure Set_Layout_Default
      (Layout             : in     Gtk.Enums.Gtk_Button_Box_Style);
| Set the the default layout to use for all the hbutton_boxes in your application that don't have a specific value set by Gtk.Button_Box.Set_Layout. The default value is Buttonbox_Edge.
    function Get_Layout_Default    return Gtk.Enums.Gtk_Button_Box_Style;
| Return the default layout to use for all the hbutton_boxes.

[Contents] [Back] [Prev] [Up] [Next] [Forward]