gtkActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)
gtkActionGetName(object)
gtkActionIsSensitive(object)
gtkActionGetSensitive(object)
gtkActionSetSensitive(object, sensitive)
gtkActionIsVisible(object)
gtkActionGetVisible(object)
gtkActionSetVisible(object, visible)
gtkActionActivate(object)
gtkActionCreateIcon(object, icon.size)
gtkActionCreateMenuItem(object)
gtkActionCreateToolItem(object)
gtkActionCreateMenu(object)
gtkActionConnectProxy(object, proxy)
gtkActionConnectProxy(object, proxy)
gtkActionDisconnectProxy(object, proxy)
gtkActionDisconnectProxy(object, proxy)
gtkActionGetProxies(object)
gtkActionConnectAccelerator(object)
gtkActionDisconnectAccelerator(object)
gtkActionBlockActivate(object)
gtkActionUnblockActivate(object)
gtkActionBlockActivateFrom(object, proxy)
gtkActionBlockActivateFrom(object, proxy)
gtkActionUnblockActivateFrom(object, proxy)
gtkActionUnblockActivateFrom(object, proxy)
gtkActionGetAlwaysShowImage(object)
gtkActionSetAlwaysShowImage(object, always.show)
gtkActionGetAccelPath(object)
gtkActionSetAccelPath(object, accel.path)
gtkActionGetAccelClosure(object)
gtkActionSetAccelGroup(object, accel.group)
gtkActionSetLabel(object, label)
gtkActionGetLabel(object)
gtkActionSetShortLabel(object, short.label)
gtkActionGetShortLabel(object)
gtkActionSetTooltip(object, tooltip)
gtkActionGetTooltip(object)
gtkActionSetStockId(object, stock.id)
gtkActionGetStockId(object)
gtkActionSetGicon(object, icon)
gtkActionGetGicon(object)
gtkActionSetIconName(object, icon.name)
gtkActionGetIconName(object)
gtkActionSetVisibleHorizontal(object, visible.horizontal)
gtkActionGetVisibleHorizontal(object)
gtkActionSetVisibleVertical(object, visible.vertical)
gtkActionGetVisibleVertical(object)
gtkActionSetIsImportant(object, is.important)
gtkActionGetIsImportant(object)
gtkAction(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)
GObject +----GtkAction +----GtkToggleAction +----GtkRecentAction
GtkBuildable
.GtkToggleAction
, which can be toggled between two states and GtkRadioAction
, of which only one in a group
can be in the "active" state. Other actions can be implemented as GtkAction
subclasses. Each action can have one or more proxy menu item, toolbar button or
other proxy widgets. Proxies mirror the state of the action (text
label, tooltip, icon, visible, sensitive, etc), and should change when
the action's state changes. When the proxy is activated, it should
activate its action.gtkAction
is the equivalent of gtkActionNew
.action-group
[GtkActionGroup
: * : Read / Write]always-show-image
[logical : Read / Write / Construct]TRUE
, the action's menu item proxies will ignore the "gtk-menu-images"
setting and always show their image, if available. Use this property if the menu item would be useless or hard to use
without their image.
Default value: FALSE Since 2.20 gicon
[GIcon
: * : Read / Write]GIcon
displayed in the GtkAction
. Note that the stock icon is preferred, if the "stock-id"
property holds the id of an existing stock icon. This is an appearance property and thus only applies if
"use-action-appearance"
is TRUE
.
Since 2.16 hide-if-empty
[logical : Read / Write]icon-name
[character : * : Read / Write]"stock-id"
property holds the id of an existing stock icon, and the GIcon
is
preferred if the "gicon"
property is set. This is an appearance property and thus only applies if
"use-action-appearance"
is TRUE
.
Default value: NULL Since 2.10 is-important
[logical : Read / Write]label
[character : * : Read / Write]NULL
, GTK+ uses the stock
label specified via the stock-id property. This is an appearance property and thus only applies if
"use-action-appearance"
is TRUE
.
Default value: NULL name
[character : * : Read / Write / Construct Only]sensitive
[logical : Read / Write]short-label
[character : * : Read / Write]"use-action-appearance"
is TRUE
.
Default value: NULL stock-id
[character : * : Read / Write]"use-action-appearance"
is TRUE
.
Default value: NULL tooltip
[character : * : Read / Write]visible
[logical : Read / Write]visible-horizontal
[logical : Read / Write]visible-overflown
[logical : Read / Write]TRUE
, toolitem proxies for this action are represented in the
toolbar overflow menu.
Default value: TRUE Since 2.6 visible-vertical
[logical : Read / Write]GtkActionGroup
GtkUIManager