RecentActionSignalName
public enum RecentActionSignalName : String, SignalNameProtocol
Undocumented
-
The “activate” signal is emitted when the action is activated.
activate is deprecated: Use #GSimpleAction::activate instead
Declaration
Swift
case activate = "activate"
-
The notify signal is emitted on an object when one of its properties has its value set through
g_object_set_property()
,g_object_set()
, et al.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Declaration
Swift
case notify = "notify"
-
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 notifyActionGroup = "notify::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 notifyAlwaysShowImage = "notify::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 notifyIcon = "notify::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 notifyHideIfEmpty = "notify::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 notifyIconName = "notify::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 notifyIsImportant = "notify::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 notifyLabel = "notify::label"
-
A unique name for the action.
name is deprecated: Use #GAction:name instead
Declaration
Swift
case notifyName = "notify::name"
-
Whether the action is enabled.
sensitive is deprecated: Use #GAction:enabled and #GSimpleAction:enabled instead
Declaration
Swift
case notifySensitive = "notify::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 notifyShortLabel = "notify::short-label"
-
Whether the items should be displayed with a number.
show-numbers is deprecated: This method is deprecated.
Declaration
Swift
case notifyShowNumbers = "notify::show-numbers"
-
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 notifyStockID = "notify::stock-id"
-
A tooltip for this action.
tooltip is deprecated: Use gtk_widget_set_tooltip_text() instead
Declaration
Swift
case notifyTooltip = "notify::tooltip"
-
Whether the action is visible.
visible is deprecated: There is no corresponding replacement when using
GAction
Declaration
Swift
case notifyVisible = "notify::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 notifyVisibleHorizontal = "notify::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 notifyVisibleOverflown = "notify::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 notifyVisibleVertical = "notify::visible-vertical"