Class: Gtk::SizeGroup
- Inherits:
-
Object
- Object
- Gtk::SizeGroup
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add_widget(widget) ⇒ nil
Adds a widget to a Gtk::SizeGroup.
-
#ignore_hidden ⇒ TrueClass
Returns if invisible widgets are ignored when calculating the size.
-
#ignore_hidden=(ignore_hidden) ⇒ TrueClass
If true, unmapped widgets are ignored when determining the size of the group.
-
#ignore_hidden? ⇒ TrueClass
If true, unmapped widgets are ignored when determining the size of the group.
-
#mode ⇒ Gtk::SizeGroupMode
Mode.
- #mode=(mode) ⇒ Gtk::SizeGroupMode
-
#new(mode) ⇒ Gtk::SizeGroup
Create a new Gtk::SizeGroup.
-
#remove_widget(widget) ⇒ nil
Removes a widget from a Gtk::SizeGroup.
-
#widgets ⇒ GLib::SList
Returns the list of widgets associated with size_group.
Instance Method Details
#add_widget(widget) ⇒ nil
Adds a widget to a Gtk::SizeGroup. In the future, the requisition of the widget will be determined as the maximum of its requisition and the requisition of the other widgets in the size group. Whether this applies horizontally, vertically, or in both directions depends on the mode of the size group. See gtk_size_group_set_mode().
When the widget is destroyed or no longer referenced elsewhere, it will be removed from the size group.
#ignore_hidden ⇒ TrueClass
Returns if invisible widgets are ignored when calculating the size.
#ignore_hidden=(ignore_hidden) ⇒ TrueClass
If true, unmapped widgets are ignored when determining the size of the group.
#ignore_hidden? ⇒ TrueClass
If true, unmapped widgets are ignored when determining the size of the group.
#mode ⇒ Gtk::SizeGroupMode
Returns mode.
#mode=(mode) ⇒ Gtk::SizeGroupMode
#new(mode) ⇒ Gtk::SizeGroup
Create a new Gtk::SizeGroup.
#remove_widget(widget) ⇒ nil
Removes a widget from a Gtk::SizeGroup.
#widgets ⇒ GLib::SList
Returns the list of widgets associated with size_group.