| gtk-Keyboard-Accelerators {RGtk2} | R Documentation |
Groups of global keyboard accelerators for an entire GtkWindow
gtkAccelGroupNew()
gtkAccelGroupConnect(object, accel.key, accel.mods, accel.flags, closure)
gtkAccelGroupConnectByPath(object, accel.path, closure)
gtkAccelGroupDisconnect(object, closure)
gtkAccelGroupDisconnectKey(object, accel.key, accel.mods)
gtkAccelGroupQuery(object, accel.key, accel.mods)
gtkAccelGroupActivate(object, accel.quark, acceleratable, accel.key, accel.mods)
gtkAccelGroupLock(object)
gtkAccelGroupUnlock(object)
gtkAccelGroupFromAccelClosure(closure)
gtkAccelGroupsActivate(object, accel.key, accel.mods)
gtkAccelGroupsFromObject(object)
gtkAccelGroupFind(object, find.func, data = NULL)
gtkAcceleratorValid(keyval, modifiers)
gtkAcceleratorParse(accelerator)
gtkAcceleratorName(accelerator.key, accelerator.mods)
gtkAcceleratorGetLabel(accelerator.key, accelerator.mods)
gtkAcceleratorSetDefaultModMask(default.mod.mask)
gtkAcceleratorGetDefaultModMask()
gtkAccelGroup()
GObject +----GtkAccelGroup
A GtkAccelGroup represents a group of keyboard accelerators,
typically attached to a toplevel GtkWindow (with
gtkWindowAddAccelGroup). Usually you won't need to create a
GtkAccelGroup directly; instead, when using GtkItemFactory, GTK+
automatically sets up the accelerators for your menus in the item
factory's GtkAccelGroup.
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. See
gtkLabelNewWithMnemonic. Menu items can have both accelerators
and mnemonics, of course.
GtkAccelGroup
GtkAccelKeyGtkAccelKey is a transparent-type.
accelKeyaccelModsGdkModifierType] accelFlags
gtkAccelGroup is the equivalent of gtkAccelGroupNew.
GtkAccelGroupActivate(accel.group, acceleratable, keyval, modifier)accel.groupGtkAccelGroup] acceleratableGObject] keyvalmodifierGdkModifierType]
GtkAccelGroupFindFunc(key, closure, data)keyGtkAccelKey] closureGClosure] data
accel-activate(accel.group, acceleratable, keyval, modifier, user.data)GtkAccelGroup and not meant to be used by applications.
accel.groupGtkAccelGroup] the GtkAccelGroup which received the signalacceleratableGObject] the object on which the accelerator was activatedkeyvalmodifierGdkModifierType] the modifier combination of the acceleratoruser.data
Returns: [logical] TRUE if the accelerator was activated
accel-changed(accel.group, keyval, modifier, accel.closure, user.data)GtkAccelGroupEntry
is added to or removed from the accel group.
Widgets like GtkAccelLabel which display an associated
accelerator should connect to this signal, and rebuild
their visual representation if the accel.closure is theirs.
accel.groupGtkAccelGroup] the GtkAccelGroup which received the signalkeyvalmodifierGdkModifierType] the modifier combination of the acceleratoraccel.closureGClosure] the GClosure of the acceleratoruser.data
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Keyboard-Accelerators.html