gtkActionGroupNew(name = NULL)
gtkActionGroupGetName(object)
gtkActionGroupGetSensitive(object)
gtkActionGroupSetSensitive(object, sensitive)
gtkActionGroupGetVisible(object)
gtkActionGroupSetVisible(object, visible)
gtkActionGroupGetAction(object, action.name)
gtkActionGroupListActions(object)
gtkActionGroupAddAction(object, action)
gtkActionGroupAddActionWithAccel(object, action, accelerator = NULL)
gtkActionGroupRemoveAction(object, action)
gtkActionGroupAddActions(object, entries, user.data = NULL)
gtkActionGroupAddActionsFull(object, entries, user.data = NULL)
gtkActionGroupAddToggleActions(object, entries, user.data = NULL)
gtkActionGroupAddToggleActionsFull(object, entries, user.data = NULL)
gtkActionGroupAddRadioActions(object, entries, value, on.change = NULL, user.data = NULL)
gtkActionGroupAddRadioActionsFull(object, entries, value, on.change = NULL, user.data = NULL)
gtkActionGroupSetTranslateFunc(object, func, data = NULL)
gtkActionGroupSetTranslationDomain(object, domain)
gtkActionGroupTranslateString(object, string)
gtkActionGroup(name = NULL)
GObject +----GtkActionGroup
GtkBuildable
.GtkAction
objects. All actions that would make sense to use in a particular context
should be in a single group. Multiple action groups may be used for a
particular user interface. In fact, it is expected that most nontrivial
applications will make use of multiple groups. For example, in an application
that can edit multiple documents, one group holding global actions
(e.g. quit, about, new), and one group per document holding actions that
act on that document (eg. save, cut/copy/paste, etc). Each window's menus
would be constructed from a combination of two action groups. Accelerators are handled by the GTK+ accelerator map. All actions are assigned an
accelerator path (which normally has the form
/ \var{group-name} / \var{action-name}
)
and a shortcut is associated with this accelerator path. All menuitems and
toolitems take on this accelerator path. The GTK+ accelerator map code makes
sure that the correct shortcut is displayed next to the menu item.GtkDialog
UI definition fragment.GtkActionGroup
GtkActionGroup
struct contains only private
members and should not be accessed directly. GtkActionEntry
GtkActionEntry
structs are used with
gtkActionGroupAddActions
to construct actions.
GtkActionEntry
is a transparent-type. name
stock_id
label
gtkActionGroupSetTranslationDomain
. If label
is NULL
, the label of the stock item with id stock.id
is used.accelerator
gtkAcceleratorParse
.tooltip
gtkActionGroupSetTranslationDomain
.callback
GtkToggleActionEntry
GtkToggleActionEntry
structs are used with
gtkActionGroupAddToggleActions
to construct toggle actions.
GtkToggleActionEntry
is a transparent-type. name
stock_id
label
gtkActionGroupSetTranslationDomain
.accelerator
gtkAcceleratorParse
.tooltip
gtkActionGroupSetTranslationDomain
.callback
is_active
GtkRadioActionEntry
GtkRadioActionEntry
structs are used with
gtkActionGroupAddRadioActions
to construct groups of radio actions.
GtkRadioActionEntry
is a transparent-type. name
stock_id
label
gtkActionGroupSetTranslationDomain
.accelerator
gtkAcceleratorParse
.tooltip
gtkActionGroupSetTranslationDomain
.value
gtkRadioActionGetCurrentValue
.gtkActionGroup
is the equivalent of gtkActionGroupNew
.connect-proxy(action.group, action, proxy, user.data)
GtkUIManager
proxies the signal and provides global notification
just before any action is connected to a proxy, which is probably more
convenient to use.
Since 2.4 action.group
action
proxy
user.data
disconnect-proxy(action.group, action, proxy, user.data)
GtkUIManager
proxies the signal and provides global notification
just before any action is connected to a proxy, which is probably more
convenient to use.
Since 2.4 action.group
action
proxy
user.data
post-activate(action.group, action, user.data)
action
in the
action.group
is activated This is intended for GtkUIManager
to proxy the signal and provide global
notification just after any action is activated.
Since 2.4 action.group
action
user.data
pre-activate(action.group, action, user.data)
action
in the
action.group
is activated This is intended for GtkUIManager
to proxy the signal and provide global
notification just before any action is activated.
Since 2.4 action.group
action
user.data
name
[character : * : Read / Write / Construct Only]sensitive
[logical : Read / Write]visible
[logical : Read / Write]