Gtk::AccelKey Class Reference
[Menu classes]
Defines accelerator key combinations. More...
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
Constructor & Destructor Documentation
Gtk::AccelKey::AccelKey |
( |
|
) |
|
AccelKey constructor.
- Parameters:
-
| accel_key | For instance, 'q' |
| accel_mods | For instance, Gdk::CONTROL_MASK |
| accel_path | For instance, "<MainWindow>/File/Open" |
AccelKey constructor.
- Parameters:
-
| accelerator | For instance, "<control>q" - Use <control>, <shift>, <alt> and <release>. Use F1, F2, etc, for function keys. |
| accel_path | For instance, "<MainWindow>/File/Open" |
Gtk::AccelKey::AccelKey |
( |
const AccelKey& |
src |
) |
|
Member Function Documentation
Gets the accelerator representation for labels.
guint Gtk::AccelKey::get_key |
( |
|
) |
const |
Gets the accelerator key.
Gets the accelerator modifier.
Gets the accelerator path.
bool Gtk::AccelKey::is_null |
( |
|
) |
const |
Member Data Documentation
The documentation for this class was generated from the following file: