-
public bool get_expanded ()
Queries a Expander and returns its current state. Returns
true if the child widget is revealed.
-
public unowned string get_label ()
Fetches the text from a label widget including any embedded underlines indicating mnemonics and Pango
markup, as set by set_label. If the label text has not been set the return
value will be null. This will be the case if you create an empty button with
Button to use as a container.
-
public weak Widget get_label_widget ()
-
public int get_spacing ()
-
public bool get_use_markup ()
-
public bool get_use_underline ()
Returns whether an embedded underline in the expander label indicates a mnemonic. See
set_use_underline.
-
public void set_expanded (bool expanded)
Sets the state of the expander. Set to true, if you want the child widget to be revealed,
and false if you want the child widget to be hidden.
-
public void set_label (string label)
Sets the text of the label of the expander to label.
-
public void set_label_widget (Widget label_widget)
Set the label widget for the expander. This is the widget that will appear embedded alongside the
expander arrow.
-
public void set_spacing (int spacing)
Sets the spacing field of expander, which is the number of pixels to place between expander
and the child.
-
public void set_use_markup (bool use_markup)
-
public void set_use_underline (bool use_underline)
If true, an underline in the text of the expander label indicates the next character should be used for
the mnemonic accelerator key.