Class: Gtk::ButtonBox
- Inherits:
-
Object
- Object
- Gtk::ButtonBox
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#get_child_non_homogeneous(child) ⇒ TrueClass
Returns whether the child is exempted from homogenous sizing.
-
#get_child_secondary(child) ⇒ TrueClass
Returns whether child should appear in a secondary group of children.
-
#layout ⇒ Gtk::ButtonBoxStyle
Retrieves the method being used to arrange the buttons in a button box.
-
#layout=(layout_style) ⇒ nil
Changes the way buttons are arranged in their container.
-
#layout_style ⇒ Gtk::ButtonBoxStyle
Layout-style.
- #layout_style=(layout_style) ⇒ Gtk::ButtonBoxStyle
-
#new(orientation) ⇒ Gtk::Widget
Creates a new Gtk::ButtonBox.
-
#set_child_non_homogeneous(child, non_homogeneous) ⇒ nil
Sets whether the child is exempted from homogeous sizing.
-
#set_child_secondary(child, is_secondary) ⇒ nil
Sets whether child should appear in a secondary group of children.
Instance Method Details
#get_child_non_homogeneous(child) ⇒ TrueClass
Returns whether the child is exempted from homogenous sizing.
#get_child_secondary(child) ⇒ TrueClass
Returns whether child should appear in a secondary group of children.
#layout ⇒ Gtk::ButtonBoxStyle
Retrieves the method being used to arrange the buttons in a button box.
#layout=(layout_style) ⇒ nil
Changes the way buttons are arranged in their container.
#layout_style ⇒ Gtk::ButtonBoxStyle
Returns layout-style.
#layout_style=(layout_style) ⇒ Gtk::ButtonBoxStyle
#new(orientation) ⇒ Gtk::Widget
Creates a new Gtk::ButtonBox.
#set_child_non_homogeneous(child, non_homogeneous) ⇒ nil
Sets whether the child is exempted from homogeous sizing.
#set_child_secondary(child, is_secondary) ⇒ nil
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.