Package: gtk

Class gtk:recent-chooser-menu

Superclasses

Documented Subclasses

None

Direct Slots

show-numbers
The show-numbers property of type :boolean (Read / Write)
Whether the first ten items in the menu should be prepended by a number acting as a unique mnemonic.
Default value: false

Details

The gtk:recent-chooser-menu widget is a widget suitable for displaying recently used files inside a menu. It can be used to set a sub-menu of a gtk:menu-item widget using the gtk:menu-item-submenu function, or as the menu of a gtk:menu-tool-button widget.

Note that the gtk:recent-chooser-menu widget does not have any methods of its own. Instead, you should use the functions that work on a gtk:recent-chooser widget.

Note also that the gtk:recent-chooser-menu widget does not support multiple filters, as it has no way to let the user choose between them as the gtk:recent-chooser-widget and gtk:recent-chooser-dialog widgets do. Thus using the gtk:recent-chooser-add-filter function on a gtk:recent-chooser-menu widget will yield the same effects as using the gtk:recent-chooser-filter function, replacing any currently set filter with the supplied filter. The gtk:recent-chooser-remove-filter function will remove any currently set gtk:recent-filter object and will unset the current filter. The gtk:recent-chooser-list-filters function will return a list containing a single gtk:recent-filter object.
 

Returned by

gtk:recent-chooser-menu-new
gtk:recent-chooser-menu-for-manager

Inherited Slot Access Functions

gtk:widget-app-paintable
gtk:widget-can-default
gtk:widget-can-focus
gtk:widget-composite-child
gtk:widget-double-buffered
gtk:widget-events
gtk:widget-expand
gtk:widget-focus-on-click
gtk:widget-halign
gtk:widget-has-default
gtk:widget-has-focus
gtk:widget-has-tooltip
gtk:widget-height-request
gtk:widget-hexpand
gtk:widget-hexpand-set
gtk:widget-is-focus
gtk:widget-margin
gtk:widget-margin-bottom
gtk:widget-margin-end
gtk:widget-margin-left
gtk:widget-margin-right
gtk:widget-margin-start
gtk:widget-margin-top
gtk:widget-name
gtk:widget-no-show-all
gtk:widget-opacity
gtk:widget-parent
gtk:widget-receives-default
gtk:widget-scale-factor
gtk:widget-sensitive
gtk:widget-style
gtk:widget-tooltip-markup
gtk:widget-tooltip-text
gtk:widget-valign
gtk:widget-vexpand
gtk:widget-vexpand-set
gtk:widget-visible
gtk:widget-width-request
gtk:widget-window
gtk:recent-chooser-filter
gtk:recent-chooser-limit
gtk:recent-chooser-local-only
gtk:recent-chooser-recent-manager
gtk:recent-chooser-select-multiple
gtk:recent-chooser-show-icons
gtk:recent-chooser-show-not-found
gtk:recent-chooser-show-private
gtk:recent-chooser-show-tips
gtk:recent-chooser-sort-type
gtk:menu-accel-group
gtk:menu-accel-path
gtk:menu-active
gtk:menu-anchor-hints
gtk:menu-attach-widget
gtk:menu-menu-type-hint
gtk:menu-monitor
gtk:menu-rect-anchor-dx
gtk:menu-rect-anchor-dy
gtk:menu-reserve-toggle-size
gtk:menu-tearoff-state
gtk:menu-tearoff-title
gtk:activatable-related-action
gtk:activatable-use-action-appearance
gtk:menu-shell-take-focus
gtk:container-border-width
gtk:container-child
gtk:container-resize-mode
g:object-has-reference
g:object-pointer

See also

#2023-3-24