Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Gtk::AccelKey Class Reference
[Menu classes]

#include <accelkey.h>

List of all members.


Detailed Description

Defines accelerator key combinations. For instance, pressing Control-Q to activate the File|Quit menu item. Typedefed as Gtk::Menu::AccelKey

By defining accelerator paths you can allow the user of your application to change accelerators himself. An example of an accelerator might be "<MainWindow>/File/Open". Modified accelerators may be saved

See also:
Gtk::AccelMap

Definition at line 41 of file accelkey.h.


Public Member Functions

 AccelKey (const AccelKey &src)
 AccelKey (const Glib::ustring &accelerator, const Glib::ustring &accel_path=Glib::ustring())
 AccelKey (guint accel_key, Gdk::ModifierType accel_mods, const Glib::ustring &accel_path="")
Glib::ustring get_abbrev () const
guint get_key () const
Gdk::ModifierType get_mod () const
Glib::ustring get_path () const
bool is_null () const
AccelKeyoperator= (const AccelKey &src)

Protected Attributes

guint key_
Gdk::ModifierType mod_
Glib::ustring path_

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index