ActionPropertyName
public enum ActionPropertyName : String, PropertyNameProtocol
Undocumented
-
The GtkActionGroup this GtkAction is associated with, or NULL (for internal use).
action-group is deprecated: Lookup the #GAction using g_action_map_lookup_action() instead
Declaration
Swift
case actionGroup = "action-group"
-
If
true
, the action’s menu item proxies will ignore theGtkSettings: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.
always-show-image is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case alwaysShowImage = "always-show-image"
-
The
GIcon
displayed in theGtkAction
.Note that the stock icon is preferred, if the
GtkAction:stock-id
property holds the id of an existing stock icon.This is an appearance property and thus only applies if
GtkActivatable:use-action-appearance
istrue
.gicon is deprecated: Use the “icon” attribute on a #GMenuItem instead
Declaration
Swift
case gicon = "gicon"
-
When TRUE, empty menu proxies for this action are hidden.
hide-if-empty is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case hideIfEmpty = "hide-if-empty"
-
The name of the icon from the icon theme.
Note that the stock icon is preferred, if the
GtkAction:stock-id
property holds the id of an existing stock icon, and theGIcon
is preferred if theGtkAction:gicon
property is set.This is an appearance property and thus only applies if
GtkActivatable:use-action-appearance
istrue
.icon-name is deprecated: Use the “icon” attribute on a #GMenuItem instead
Declaration
Swift
case iconName = "icon-name"
-
Whether the action is considered important. When TRUE, toolitem proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode.
is-important is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case isImportant = "is-important"
-
The label used for menu items and buttons that activate this action. If the label is
nil
, GTK+ uses the stock label specified via the stock-id property.This is an appearance property and thus only applies if
GtkActivatable:use-action-appearance
istrue
.label is deprecated: Use the “label” attribute on #GMenuItem instead
Declaration
Swift
case label = "label"
-
A unique name for the action.
name is deprecated: Use #GAction:name instead
Declaration
Swift
case name = "name"
-
Whether the action is enabled.
sensitive is deprecated: Use #GAction:enabled and #GSimpleAction:enabled instead
Declaration
Swift
case sensitive = "sensitive"
-
A shorter label that may be used on toolbar buttons.
This is an appearance property and thus only applies if
GtkActivatable:use-action-appearance
istrue
.short-label is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case shortLabel = "short-label"
-
The stock icon displayed in widgets representing this action.
This is an appearance property and thus only applies if
GtkActivatable:use-action-appearance
istrue
.stock-id is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case stockID = "stock-id"
-
A tooltip for this action.
tooltip is deprecated: Use gtk_widget_set_tooltip_text() instead
Declaration
Swift
case tooltip = "tooltip"
-
Whether the action is visible.
visible is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case visible = "visible"
-
Whether the toolbar item is visible when the toolbar is in a horizontal orientation.
visible-horizontal is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case visibleHorizontal = "visible-horizontal"
-
When
true
, toolitem proxies for this action are represented in the toolbar overflow menu.visible-overflown is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case visibleOverflown = "visible-overflown"
-
Whether the toolbar item is visible when the toolbar is in a vertical orientation.
visible-vertical is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case visibleVertical = "visible-vertical"