Class: Gtk::Expander
- Inherits:
-
Object
- Object
- Gtk::Expander
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#expanded ⇒ TrueClass
Queries a Gtk::Expander and returns its current state.
- #expanded=(expanded) ⇒ TrueClass
-
#expanded? ⇒ TrueClass
Expanded.
-
#label ⇒ String
Label.
- #label=(label) ⇒ String
-
#label_fill ⇒ TrueClass
Returns whether the label widget will fill all available horizontal space allocated to expander.
- #label_fill=(label_fill) ⇒ TrueClass
-
#label_fill? ⇒ TrueClass
Label-fill.
-
#label_widget ⇒ Gtk::Widget
Label-widget.
- #label_widget=(label_widget) ⇒ Gtk::Widget
-
#new(label) ⇒ Gtk::Widget
Creates a new expander using label as the text of the label.
-
#new_with_mnemonic(label) ⇒ Gtk::Widget
Creates a new expander using label as the text of the label.
-
#resize_toplevel ⇒ TrueClass
Returns whether the expander will resize the toplevel widget containing the expander upon resizing and collpasing.
-
#resize_toplevel=(resize_toplevel) ⇒ TrueClass
When this property is true, the expander will resize the toplevel widget containing the expander upon expanding and collapsing.
-
#resize_toplevel? ⇒ TrueClass
When this property is true, the expander will resize the toplevel widget containing the expander upon expanding and collapsing.
-
#spacing ⇒ Integer
Space to put between the label and the child when the expander is expanded.
-
#spacing=(spacing) ⇒ Integer
Space to put between the label and the child when the expander is expanded.
-
#use_markup ⇒ TrueClass
Returns whether the label’s text is interpreted as marked up with the [Pango text markup language].
- #use_markup=(use_markup) ⇒ TrueClass
-
#use_markup? ⇒ TrueClass
Use-markup.
-
#use_underline ⇒ TrueClass
Returns whether an embedded underline in the expander label indicates a mnemonic.
- #use_underline=(use_underline) ⇒ TrueClass
-
#use_underline? ⇒ TrueClass
Use-underline.
Instance Method Details
#expanded ⇒ TrueClass
Queries a Gtk::Expander and returns its current state. Returns true if the child widget is revealed.
See gtk_expander_set_expanded().
#expanded=(expanded) ⇒ TrueClass
#expanded? ⇒ TrueClass
Returns expanded.
#label ⇒ String
Returns label.
#label=(label) ⇒ String
#label_fill ⇒ TrueClass
Returns whether the label widget will fill all available horizontal space allocated to expander.
#label_fill=(label_fill) ⇒ TrueClass
#label_fill? ⇒ TrueClass
Returns label-fill.
#label_widget ⇒ Gtk::Widget
Returns label-widget.
#label_widget=(label_widget) ⇒ Gtk::Widget
#new(label) ⇒ Gtk::Widget
Creates a new expander using label as the text of the label.
#new_with_mnemonic(label) ⇒ Gtk::Widget
Creates a new expander using label as the text of the label. If characters in label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use “__” (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic. Pressing Alt and that key activates the button.
#resize_toplevel ⇒ TrueClass
Returns whether the expander will resize the toplevel widget containing the expander upon resizing and collpasing.
#resize_toplevel=(resize_toplevel) ⇒ TrueClass
When this property is true, the expander will resize the toplevel widget containing the expander upon expanding and collapsing.
#resize_toplevel? ⇒ TrueClass
When this property is true, the expander will resize the toplevel widget containing the expander upon expanding and collapsing.
#spacing ⇒ Integer
Space to put between the label and the child when the expander is expanded.
#spacing=(spacing) ⇒ Integer
Space to put between the label and the child when the expander is expanded.
#use_markup ⇒ TrueClass
Returns whether the label’s text is interpreted as marked up with the [Pango text markup language]. See gtk_expander_set_use_markup().
#use_markup=(use_markup) ⇒ TrueClass
#use_markup? ⇒ TrueClass
Returns use-markup.
#use_underline ⇒ TrueClass
Returns whether an embedded underline in the expander label indicates a mnemonic. See gtk_expander_set_use_underline().
#use_underline=(use_underline) ⇒ TrueClass
#use_underline? ⇒ TrueClass
Returns use-underline.