Sets our main struct and passes it to the parent class
Creates a new horizontal button box.
the main Gtk struct as a void*
Creates a new HButtonBox and sets comon parameters
Warning gtk_hbutton_box_get_layout_default is deprecated and should not be used in newly-written code. Retrieves the current layout used to arrange buttons in button box widgets.
Warning gtk_hbutton_box_get_spacing_default is deprecated and should not be used in newly-written code. Retrieves the current default spacing for horizontal button boxes. This is the number of pixels to be placed between the buttons when they are arranged.
Warning gtk_hbutton_box_set_layout_default is deprecated and should not be used in newly-written code. Sets a new layout mode that will be used by all button boxes.
Warning gtk_hbutton_box_set_spacing_default is deprecated and should not be used in newly-written code. Changes the default spacing that is placed between widgets in an horizontal button box.
the main Gtk struct
the main Gtk struct
the main Gtk struct as a void*
Retrieves the method being used to arrange the buttons in a button box.
Warning gtk_button_box_get_child_size is deprecated and should not be used in newly-written code. Use the style properties "child-min-width/-height" instead. Retrieves the current width and height of all child widgets in a button box. min_width and min_height are filled with those values, respectively.
Warning gtk_button_box_get_child_ipadding is deprecated and should not be used in newly-written code. Use the style properties "child-internal-pad-x" and "child-internal-pad-y" instead. Gets the default number of pixels that pad the buttons in a given button box.
Returns whether child should appear in a secondary group of children. Since 2.4
Changes the way buttons are arranged in their container.
Warning gtk_button_box_set_child_size is deprecated and should not be used in newly-written code. This is not supported anymore and can only be set through the theme
Warning gtk_button_box_set_child_ipadding is deprecated and should not be used in newly-written code. Use the style properties "child-internal-pad-x/-y" instead. Changes the amount of internal padding used by all buttons in a given button box.
Sets whether child should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog. This group appears after the other children if the style is GTK_BUTTONBOX_START, GTK_BUTTONBOX_SPREAD or GTK_BUTTONBOX_EDGE, and before the other children if the style is GTK_BUTTONBOX_END. For horizontal button boxes, the definition of before/after depends on direction of the widget (see gtk_widget_set_direction()). If the style is GTK_BUTTONBOX_START or GTK_BUTTONBOX_END, then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children.
Description A button box should be used to provide a consistent layout of buttons throughout your application. The layout/spacing can be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree. A GtkHButtonBox is created with gtk_hbutton_box_new(). Buttons are packed into a button box the same way widgets are added to any other container, using gtk_container_add(). You can also use gtk_box_pack_start() or gtk_box_pack_end(), but for button boxes both these functions work just like gtk_container_add(), ie., they pack the button in a way that depends on the current layout style and on whether the button has had gtk_button_box_set_child_secondary() called on it. The spacing between buttons can be set with gtk_box_set_spacing(). The arrangement and layout of the buttons can be changed with gtk_button_box_set_layout().