Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

actionGroup?: Gtk.ActionGroup

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

active?: boolean

Whether the toggle action should be active.

alwaysShowImage?: 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.

currentValue?: number

The value property of the currently active member of the group to which this action belongs.

drawAsRadio?: boolean

Whether the proxies for this action look like radio action proxies.

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

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.

Sets a new group for a radio action.

hideIfEmpty?: boolean

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

iconName?: 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.

isImportant?: 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.

shortLabel?: 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.

stockId?: 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.

value?: number

The value is an arbitrary integer which can be used as a convenient way to determine which action in the group is currently active in an ::activate or ::changed signal handler. See gtk_radio_action_get_current_value() and #GtkRadioActionEntry for convenient ways to get and set this property.

visible?: boolean

Whether the action is visible.

visibleHorizontal?: boolean

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

visibleOverflown?: boolean

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

visibleVertical?: 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