public class RecentChooserDialog : Dialog, Implementor, Buildable, RecentChooser
RecentChooserDialog is a dialog box suitable for displaying the recently used documents.
This widgets works by putting a RecentChooserWidget inside a Dialog. It exposes the RecentChooser interface, so you can use all the RecentChooser functions on the recent chooser dialog as well as those for Dialog.
Note that RecentChooserDialog does not have any methods of its own. Instead, you should use the functions that work on a RecentChooser.
In the simplest of cases, you can use the following code to use a RecentChooserDialog to select a recently used file:
dialog = gtk_recent_chooser_dialog_new ("Recent Documents",
res = gtk_dialog_run (GTK_DIALOG (dialog));
if (res == GTK_RESPONSE_ACCEPT)
GtkRecentChooser *chooser = GTK_RECENT_CHOOSER (dialog);
info = gtk_recent_chooser_get_current_item (chooser);
open_file (gtk_recent_info_get_uri (info));
Recently used files are supported since GTK+ 2.10.