![]() |
![]() |
For instance, pressing Control-Q to activate the File|Quit menu item. Typedefed as Gtk::Menu::AccelKey
By defining accelerator paths you can allow users of your application to change accelerators himself. An example of an accelerator may be "<MainWindow>/File/Open". Modified accelerators may be saved
Public Member Functions | |
AccelKey () | |
AccelKey (guint accel_key, Gdk::ModifierType accel_mods, const Glib::ustring& accel_path="") | |
AccelKey constructor. | |
AccelKey (const Glib::ustring& accelerator, const Glib::ustring& accel_path="") | |
AccelKey constructor. | |
AccelKey (const AccelKey& src) | |
AccelKey& | operator= (const AccelKey& src) |
bool | is_null () const |
guint | get_key () const |
Gets the accelerator key. | |
Gdk::ModifierType | get_mod () const |
Gets the accelerator modifier. | |
Glib::ustring | get_path () const |
Gets the accelerator path. | |
Glib::ustring | get_abbrev () const |
Gets the accelerator representation for labels. | |
Protected Attributes | |
guint | key_ |
Gdk::ModifierType | mod_ |
Glib::ustring | path_ |
|
|
|
AccelKey constructor.
|
|
AccelKey constructor.
|
|
|
|
Gets the accelerator representation for labels.
|
|
Gets the accelerator key.
|
|
Gets the accelerator modifier.
|
|
Gets the accelerator path.
|
|
|
|
|
|
|
|
|
|
|