![]() |

Used for menu item labels, for instance.
Public Member Functions | |
| virtual | ~AccelLabel () |
| GtkAccelLabel* | gobj () |
| Provides access to the underlying C GtkObject. | |
| const GtkAccelLabel* | gobj () const |
| Provides access to the underlying C GtkObject. | |
| AccelLabel () | |
| Default constructor to create an AccelLabel object. | |
| AccelLabel (const Glib::ustring& label, bool mnemonic=false) | |
| Constructor to create an AccelLabel object with a default label. | |
| void | set_accel_widget (const Widget& accel_widget) |
| Sets the widget to be monitored by this accelerator label. | |
| void | unset_accel_widget () |
| Forget the accel widget previously set by set_accel_widget(). | |
| Widget* | get_accel_widget () |
| Fetches the widget monitored by this accelerator label. | |
| const Widget* | get_accel_widget () const |
| Fetches the widget monitored by this accelerator label. | |
| guint | get_accel_width () const |
| Gets the width needed to display this accelerator label. | |
| bool | refetch () |
| Recreates the string representing the accelerator keys. | |
| Glib::PropertyProxy<Gtk::Widget*> | property_accel_widget () |
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly< Gtk::Widget* > | property_accel_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::AccelLabel* | wrap (GtkAccelLabel* object, bool take_copy=false) |
|
|
|
|
|
Default constructor to create an AccelLabel object.
|
|
||||||||||||
|
Constructor to create an AccelLabel object with a default label.
|
|
|
Fetches the widget monitored by this accelerator label. See set_accel_widget().
|
|
|
Fetches the widget monitored by this accelerator label. See set_accel_widget().
|
|
|
Gets the width needed to display this accelerator label. This is used by menus to align all of the Gtk::MenuItem widgets, and shouldn't be needed by applications.
|
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Label. |
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Label. |
|
|
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.
|
|
|
Recreates the string representing the accelerator keys.
|
|
|
Sets the widget to be monitored by this accelerator label.
|
|
|
Forget the accel widget previously set by set_accel_widget().
|
|
||||||||||||
|
|