gtk.RecentChooserWidget — Displays recently used files (new in PyGTK 2.10)
class gtk.RecentChooserWidget(gtk.VBox, gtk.RecentChooser): |
+--gobject.GObject +-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Box +-- gtk.VBox +-- gtk.RecentChooserWidget
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
methods that work on a gtk.RecentChooser
.
Recently used files are supported since GTK+ 2.10.
gtk.RecentChooserWidget(manager
=None)
| a gtk.RecentManager |
Returns : | a new gtk.RecentChooserWidget |
This constructor is available in PyGTK 2.10 and above.
Creates a new gtk.RecentChooserWidget
with an optional gtk.RecentManager
.
This is useful if you have implemented your own recent manager,
or if you have a customized instance of a gtk.RecentManager
object.