GtkRecentChooserWidget
GtkRecentChooserWidget — Displays recently used files
Functions
Types and Values
struct | GtkRecentChooserWidget |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkRecentChooserWidget
Implemented Interfaces
GtkRecentChooserWidget implements AtkImplementorIface, GtkBuildable, GtkOrientable and GtkRecentChooser.
Includes
#include <gtk/gtk.h>
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.
Functions
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.
Parameters
manager |
Returns
a new GtkRecentChooserWidget
Since: 2.10
Types and Values
struct GtkRecentChooserWidget
struct GtkRecentChooserWidget;
See Also
© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.
https://developer.gnome.org/gtk3/3.24/GtkRecentChooserWidget.html