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)
gtkAccelGroupGetIsLocked(object)
gtkAccelGroupFromAccelClosure(closure)
gtkAccelGroupGetModifierMask(object)
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
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
GtkAccelKey
GtkAccelKey
is a transparent-type. accelKey
accelMods
GdkModifierType
] accelFlags
gtkAccelGroup
is the equivalent of gtkAccelGroupNew
.GtkAccelGroupActivate()
GtkAccelGroupFindFunc()
accel-activate(accel.group, acceleratable, keyval, modifier, user.data)
GtkAccelGroup
and not meant to be used by applications. accel.group
GtkAccelGroup
which received the signalacceleratable
keyval
modifier
user.data
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.group
GtkAccelGroup
which received the signalkeyval
modifier
accel.closure
GClosure
of the acceleratoruser.data
is-locked
[logical : Read]modifier-mask
[GdkModifierType
: Read]