![]() |
![]() |
Public Member Functions | |
virtual | ~Expander () |
GtkExpander* | gobj () |
Provides access to the underlying C GtkObject. | |
const GtkExpander* | gobj () const |
Provides access to the underlying C GtkObject. | |
Expander () | |
Expander (const Glib::ustring& label, bool mnemonic=false) | |
void | set_expanded (bool expanded=true) |
Sets the state of the expander. | |
bool | get_expanded () const |
Queries a Gtk::Expander and returns its current state. | |
void | set_spacing (int spacing) |
Sets the spacing field of expander , which is the number of pixels to place between expander and the child. | |
int | get_spacing () const |
Gets the value set by set_spacing(). | |
void | set_label (const Glib::ustring& label) |
Sets the text of the label of the expander to label . | |
Glib::ustring | get_label () const |
Fetches the text from the label of the expander, as set by set_label(). | |
void | set_use_underline (bool use_underline=true) |
If true, an underline in the text of the expander label indicates the next character should be used for the mnemonic accelerator key. | |
bool | get_use_underline () const |
Returns whether an embedded underline in the expander label indicates a mnemonic. | |
void | set_use_markup (bool use_markup=true) |
bool | get_use_markup () const |
void | set_label_widget (Widget& label_widget) |
Set the label widget for the expander. | |
Widget* | get_label_widget () |
Retrieves the label widget for the frame. | |
const Widget* | get_label_widget () const |
Retrieves the label widget for the frame. | |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::Expander* | wrap (GtkExpander* object, bool take_copy=false) |
|
|
|
|
|
|
|
Queries a Gtk::Expander and returns its current state.
Returns See set_expanded().
|
|
Fetches the text from the label of the expander, as set by set_label().
If the label text has not been set the return value will be
|
|
Retrieves the label widget for the frame. See set_label_widget().
|
|
Retrieves the label widget for the frame. See set_label_widget().
|
|
Gets the value set by set_spacing().
|
|
|
|
Returns whether an embedded underline in the expander label indicates a mnemonic. See set_use_underline().
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Bin. |
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Bin. |
|
Sets the state of the expander.
Set to Since: 2.4
|
|
Sets the text of the label of the expander to label . This will also clear any previously set labels. Since: 2.4
|
|
Set the label widget for the expander. This is the widget that will appear embedded alongside the expander arrow. Since: 2.4
|
|
Sets the spacing field of expander , which is the number of pixels to place between expander and the child. Since: 2.4
|
|
|
|
If true, an underline in the text of the expander label indicates the next character should be used for the mnemonic accelerator key. Since: 2.4
|
|
|