GtkRecentChooserWidget

GtkRecentChooserWidget — Displays recently used files

Synopsis


#include <gtk/gtk.h>

                    GtkRecentChooserWidget;
GtkWidget*          gtk_recent_chooser_widget_new       (void);
GtkWidget*          gtk_recent_chooser_widget_new_for_manager
                                                        (GtkRecentManager *manager);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkVBox
                                       +----GtkRecentChooserWidget

Implemented Interfaces

GtkRecentChooserWidget implements AtkImplementorIface, GtkBuildable and GtkRecentChooser.

Description

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.

Details

GtkRecentChooserWidget

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

See Also

GtkRecentChooser, GtkRecentChooserDialog