Gjsify LogoGjsify Logo

Interface RecentAction_ConstructProps

Hierarchy

Index

Properties

action_group?: Gtk.ActionGroup
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
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
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. By default, the GtkSetting:gtk-recent-files-limit setting is respected: you can override that limit on a particular instance of #GtkRecentChooser by setting this property.

local_only?: boolean

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

name?: string
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
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
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
visible?: boolean
visible_horizontal?: boolean
visible_overflown?: boolean

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

visible_vertical?: boolean

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