org.gnu.gtk
public class AccelGroup extends GObject
Note that accelerators are different from mnemonics. Accelerators are shortcuts for activating a menu item; they appear alongside the menu item they're a shortcut for. For example, "Ctrl+Q" might appear alongside the "Quit" menu item. Mnemonics are shortcuts for GUI elements such as text entries or buttons; they appear as underlined characters.
Constructor Summary | |
---|---|
AccelGroup()
Create a new AccelGroup. | |
AccelGroup(Handle handle)
Create a new AccelGroup from a handle to a native resource. |
Method Summary | |
---|---|
static AccelGroup | getAccelGroup(Handle handle)
Create a new AccelGroup from a handle to a native resource. |
static Type | getType()
Retrieve the runtime type used by the GLib library. |
void | lock()
Locks the accelerator group. |
void | unlock()
Undoes the last call to lock. |