GTK+ Reference Manual | ||||
---|---|---|---|---|
#include <gtk/gtk.h> GtkRecentChooserWidget; GtkWidget* gtk_recent_chooser_widget_new (void); GtkWidget* gtk_recent_chooser_widget_new_for_manager (GtkRecentManager *manager);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GtkRecentChooserWidget
GtkRecentChooserWidget implements AtkImplementorIface, GtkBuildable 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.
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
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