GtkRecentChooserMenu: GtkRecentChooserMenu

Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Properties Author(s) References See Also

Description

Displays recently used files in a menu

Methods and Functions

gtkRecentChooserMenuNew()
gtkRecentChooserMenuNewForManager(manager = NULL, show = TRUE)
gtkRecentChooserMenuGetShowNumbers(object)
gtkRecentChooserMenuSetShowNumbers(object, show.numbers)
gtkRecentChooserMenu(manager = NULL, show = TRUE)

Hierarchy

1
2
3
4
5
6
7
8
GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkMenuShell
                                 +----GtkMenu
                                       +----GtkRecentChooserMenu

Interfaces

GtkRecentChooserMenu implements AtkImplementorIface, GtkBuildable, GtkRecentChooser and GtkActivatable.

Detailed Description

GtkRecentChooserMenu is a widget suitable for displaying recently used files inside a menu. It can be used to set a sub-menu of a GtkMenuItem using gtkMenuItemSetSubmenu, or as the menu of a GtkMenuToolButton.

Note that GtkRecentChooserMenu does not have any methods of its own. Instead, you should use the functions that work on a GtkRecentChooser.

Note also that GtkRecentChooserMenu does not support multiple filters, as it has no way to let the user choose between them as the GtkRecentChooserWidget and GtkRecentChooserDialog widgets do. Thus using gtkRecentChooserAddFilter on a GtkRecentChooserMenu widget will yield the same effects as using gtkRecentChooserSetFilter, replacing any currently set filter with the supplied filter; gtkRecentChooserRemoveFilter will remove any currently set GtkRecentFilter object and will unset the current filter; gtkRecentChooserListFilters will return a list containing a single GtkRecentFilter object.

Recently used files are supported since GTK+ 2.10.

Structures

GtkRecentChooserMenu

undocumented

Convenient Construction

gtkRecentChooserMenu is the equivalent of gtkRecentChooserMenuNewForManager.

Properties

show-numbers [logical : Read / Write]

Whether the first ten items in the menu should be prepended by a number acting as a unique mnemonic. Default value: FALSE Since 2.10

Author(s)

Derived by RGtkGen from GTK+ documentation

References

https://developer.gnome.org/gtk2/stable/GtkRecentChooserMenu.html

See Also

GtkRecentChooser


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.