Gjsify LogoGjsify Logo

Interface RecentAction_ConstructProps

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.

filter?: Gtk.RecentFilter

The #GtkRecentFilter object to be used when displaying the recently used resources.

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.

limit?: number

The maximum number of recently used resources to be displayed, or -1 to display all items.

local_only?: boolean

Whether this #GtkRecentChooser should display only local (file:) resources.

name?: string

A unique name for the action.

recent_manager?: Gtk.RecentManager

The #GtkRecentManager instance used by the #GtkRecentChooser to display the list of recently used resources.

select_multiple?: boolean

Allow the user to select multiple resources.

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.

show_icons?: boolean

Whether this #GtkRecentChooser should display an icon near the item.

show_not_found?: boolean

Whether this #GtkRecentChooser should display the recently used resources even if not present anymore. Setting this to %FALSE will perform a potentially expensive check on every local resource (every remote resource will always be displayed).

show_numbers?: boolean

Whether the items should be displayed with a number.

show_private?: boolean
show_tips?: boolean

Whether this #GtkRecentChooser should display a tooltip containing the full path of the recently used resources.

sort_type?: Gtk.RecentSortType

Sorting order to be used when displaying the recently used resources.

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