Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

action_group?: Gtk.ActionGroup

The GtkActionGroup this GtkAction is associated with, or NULL (for internal use).

always_show_image?: boolean

If %TRUE, the action's menu item proxies will ignore the #GtkSettings: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.

gicon?: Gio.Icon

The #GIcon displayed in the #GtkAction.

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 is %TRUE.

hide_if_empty?: boolean

When TRUE, empty menu proxies for this action are hidden.

icon_name?: string

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 the #GIcon is preferred if the #GtkAction:gicon property is set.

This is an appearance property and thus only applies if #GtkActivatable:use-action-appearance is %TRUE.

is_important?: boolean

Whether the action is considered important. When TRUE, toolitem proxies for this action show text in GTK_TOOLBAR_BOTH_HORIZ mode.

label?: string

The label used for menu items and buttons that activate this action. If the label is %NULL, 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 is %TRUE.

name?: string

A unique name for the action.

sensitive?: boolean

Whether the action is enabled.

short_label?: string

A shorter label that may be used on toolbar buttons.

This is an appearance property and thus only applies if #GtkActivatable:use-action-appearance is %TRUE.

stock_id?: string

The stock icon displayed in widgets representing this action.

This is an appearance property and thus only applies if #GtkActivatable:use-action-appearance is %TRUE.

tooltip?: string

A tooltip for this action.

visible?: boolean

Whether the action is visible.

visible_horizontal?: boolean

Whether the toolbar item is visible when the toolbar is in a horizontal orientation.

visible_overflown?: boolean

When %TRUE, toolitem proxies for this action are represented in the toolbar overflow menu.

visible_vertical?: boolean

Whether the toolbar item is visible when the toolbar is in a vertical orientation.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method