g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable Gtk.RecentChooser Gtk.RecentChooser GObject.GInterface->Gtk.RecentChooser GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Box Gtk.Box Gtk.RecentChooserWidget Gtk.RecentChooserWidget Gtk.Box->Gtk.RecentChooserWidget Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.RecentChooser->Gtk.RecentChooserWidget Gtk.Widget->Gtk.Container


Child Properties

Inherited:Gtk.Box (5)

Style Properties

Inherited:Gtk.Widget (17)


Inherited:Gtk.Container (4), Gtk.Widget (69), GObject.Object (1), Gtk.RecentChooser (2)
Name Type Access Description
parent_instance Gtk.Box r  

Class Details

class Gtk.RecentChooserWidget(*args, **kwargs)
Bases:Gtk.Box, Gtk.RecentChooser

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

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

Recently used files are supported since GTK+ 2.10.

classmethod new()[source]
Returns:a new Gtk.RecentChooserWidget
Return type:Gtk.Widget

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

New in version 2.10.

classmethod new_for_manager(manager)[source]
Parameters:manager (Gtk.RecentManager) – a Gtk.RecentManager
Returns:a new Gtk.RecentChooserWidget
Return type:Gtk.Widget

Creates a new Gtk.RecentChooserWidget 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 Gtk.RecentManager object.

New in version 2.10.