Gtk.Action Members

The members of Gtk.Action are listed below.

See Also: Inherited members from GLib.Object

Public Constructors

Internal constructor
Creates a new action from the name and label.
Creates a new action from the name, label, tooltip, and stock_id.

Protected Constructors

Internal constructor

Public Properties

[write-only]
AccelGroupAccelGroup. The Gtk.AccelGroup in which the accelerator for this action will be installed.
AccelPathstring. The accel path for this action.
ActionGroupActionGroup. The GtkActionGroup this GtkAction is associated with.
[read-only]
static
GTypeGLib.GType. GType Property.
HideIfEmptybool. When true, empty menu proxies for this action are hidden.
IconNamestring. The name of the icon from the icon theme.
IsImportantbool. Whether the action is considered important.
[read-only]
IsSensitivebool. Whether the action is effectively sensitive.
[read-only]
IsVisiblebool. Whether the action is effectively visible.
Labelstring. The label used for menu items and buttons that activate this action.
[read-only]
Namestring. A unique name for the action.
[read-only]
ProxiesWidget[]. Returns the proxy widgets for an action.
Sensitivebool. Whether the action itself is sensitive.
ShortLabelstring. A shorter label that may be used on toolbar buttons.
StockIdstring. The stock icon displayed in widgets representing this action.
Tooltipstring. A tooltip for this action.
Visiblebool. Whether the action itself is visible.
VisibleHorizontalbool. Whether the toolbar item is visible when the toolbar is in a horizontal orientation.
VisibleOverflownbool. When true, toolitem proxies for this action are represented in the toolbar overflow menu.
VisibleVerticalbool. When true, toolitem proxies for this action are represented in the toolbar overflow menu.

Public Methods

Activate()
Emits Action.Activated on the specified action, if it is not insensitive.
BlockActivateFrom(Widget)
Disables calls to the Action.Activate() function by signals on the given proxy widget.
ConnectAccelerator()
Installs the accelerator for action if action has an AccelPath and AccelGroup.
ConnectProxy(Widget)
Connects a widget to an action object as a proxy.
CreateIcon(IconSize) : Widget
This function is intended for use by action implementations to create icons displayed in the proxy widgets.
CreateMenu() : Widget
Documentation for this section has not yet been entered.
CreateMenuItem() : Widget
Creates a menu item widget that proxies for the given action.
CreateToolItem() : Widget
Creates a toolbar item widget that proxies for the given action.
DisconnectAccelerator()
Undoes the effect of one call to Action.ConnectAccelerator().
DisconnectProxy(Widget)
Disconnects a proxy widget from an action.
UnblockActivateFrom(Widget)
Re-enables calls to the Gtk.ActionActivate() function by signals on the given proxy widget.

Protected Methods

OnActivated()
Default handler for the Action.Activated event.

Public Events

ActivatedEvent raised when this action is activated.