![]() |
![]() |
A Expander allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a Gtk::TreeView.
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 () | |
Creates a new Expander. | |
Expander (const Glib::ustring& label, bool mnemonic=false) | |
Creates a new Expander with a label. | |
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) |
Sets whether the text of the label contains markup in Pango's text markup language. | |
bool | get_use_markup () const |
Returns whether the label's text is interpreted as marked up with the Pango text markup language. | |
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. | |
Glib::PropertyProxy<bool> | property_expanded () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_expanded () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<Glib::ustring> | property_label () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_label () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_use_underline () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_use_underline () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_use_markup () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_use_markup () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<int> | property_spacing () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< int > | property_spacing () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<Widget*> | property_label_widget () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< Widget* > | property_label_widget () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::Expander* | wrap (GtkExpander* object, bool take_copy=false) |
|
|
|
Creates a new Expander. The Expander has an empty label. Since: 2.4 |
|
Creates a new Expander with a label. Creates a new expander using label as the text of the label. Settin mnemonic to true will allow you to precede characters in the label with an underscore which will make them 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.
|
|
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 the label's text is interpreted as marked up with the Pango text markup language. See set_use_markup().
|
|
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.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
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
|
|
Sets whether the text of the label contains markup in Pango's text markup language. 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
|
|
|