manpagez: man pages & more
html files: gtk
Home | html | info | man


GtkRecentChooserWidget — Displays recently used files

Object Hierarchy


Implemented Interfaces

GtkRecentChooserWidget implements AtkImplementorIface, GtkBuildable, GtkOrientable and GtkRecentChooser.


GtkRecentChooserWidget is a widget suitable for selecting recently used files. It is the main building block of a GtkRecentChooserDialog. Most applications will only need to use the latter; you can use GtkRecentChooserWidget as part of a larger window if you have special needs.

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

Recently used files are supported since GTK+ 2.10.



typedef struct _GtkRecentChooserWidget GtkRecentChooserWidget;

gtk_recent_chooser_widget_new ()

GtkWidget *         gtk_recent_chooser_widget_new       (void);

Creates a new GtkRecentChooserWidget object. This is an embeddable widget used to access the recently used resources list.

Returns :

a new GtkRecentChooserWidget

Since 2.10

gtk_recent_chooser_widget_new_for_manager ()

GtkWidget *         gtk_recent_chooser_widget_new_for_manager
                                                        (GtkRecentManager *manager);

Creates a new GtkRecentChooserWidget with a specified recent manager.

This is useful if you have implemented your own recent manager, or if you have a customized instance of a GtkRecentManager object.

manager :

a GtkRecentManager

Returns :

a new GtkRecentChooserWidget

Since 2.10