![]() |

Public Types | |
| typedef Glib::ListHandle< RecentInfo, RecentInfoTraits > | ArrayHandle_RecentInfos |
| typedef sigc::slot< int, const RecentInfo&, const RecentInfo& > | SlotCompare |
| This callback should return -1 if b compares before a, 0 if they compare equal and 1 if a compares after b. | |
Public Member Functions | |
| void | add_filter (const RecentFilter& filter) |
| RecentInfo | get_current_item () const |
| Glib::ustring | get_current_uri () const |
| const RecentFilter* | get_filter () const |
| RecentFilter* | get_filter () |
| ArrayHandle_RecentInfos | get_items () const |
| int | get_limit () const |
| bool | get_local_only () const |
| bool | get_select_multiple () const |
| bool | get_show_icons () const |
| bool | get_show_not_found () const |
| bool | get_show_private () const |
| bool | get_show_tips () const |
| RecentSortType | get_sort_type () const |
| Glib::StringArrayHandle | get_uris () const |
| Gets the URI of the recently used resources. | |
| const GtkRecentChooser* | gobj () const |
| Provides access to the underlying C GObject. | |
| GtkRecentChooser* | gobj () |
| Provides access to the underlying C GObject. | |
| Glib::SListHandle<const RecentFilter*> | list_filters () const |
| Glib::SListHandle<RecentFilter*> | list_filters () |
| void | remove_filter (const RecentFilter& filter) |
| void | select_all () |
| bool | select_uri (const Glib::ustring& uri, std::auto_ptr<Glib::Error>& error) |
| bool | set_current_uri (const Glib::ustring& uri, std::auto_ptr<Glib::Error>& error) |
| void | set_filter (const RecentFilter& filter) |
| void | set_limit (int limit) |
| void | set_local_only (bool local_only=true) |
| void | set_select_multiple (bool select_multiple=true) |
| void | set_show_icons (bool show_icons=true) |
| void | set_show_not_found (bool show_not_found=true) |
| void | set_show_private (bool show_private=true) |
| void | set_show_tips (bool show_tips=true) |
| void | set_sort_func (const SlotCompare& slot) |
| Sets the comparison function used when sorting the list of recently used resources and the sort type is RECENT_SORT_CUSTOM. | |
| void | set_sort_type (RecentSortType sort_type) |
| Glib::SignalProxy0<void> | signal_item_activated () |
| This signal is emitted when the user "activates" a recent item in the recent chooser. | |
| Glib::SignalProxy0<void> | signal_selection_changed () |
| This signal is emitted when there is a change in the set of selected recently used resources. | |
| void | unselect_all () |
| void | unselect_uri (const Glib::ustring& uri) |
| void | unset_limit () |
| virtual | ~RecentChooser () |
Static Public Member Functions | |
| static void | add_interface (GType gtype_implementer) |
Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Gtk::RecentChooser> | wrap (GtkRecentChooser* object, bool take_copy=false) |
|
|
|
|
|
This callback should return -1 if b compares before a, 0 if they compare equal and 1 if a compares after b. For instance, int on_sort_compare(const Gtk::RecentInfo& a, const Gtk::RecentInfo& b); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Gets the URI of the recently used resources. The return value of this function is affected by the "sort-type" and "limit" properties of the recent chooser. |
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::Interface. Reimplemented in Gtk::RecentChooserDialog, Gtk::RecentChooserMenu, and Gtk::RecentChooserWidget. |
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::Interface. Reimplemented in Gtk::RecentChooserDialog, Gtk::RecentChooserMenu, and Gtk::RecentChooserWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets the comparison function used when sorting the list of recently used resources and the sort type is RECENT_SORT_CUSTOM.
|
|
|
|
|
|
This signal is emitted when the user "activates" a recent item in the recent chooser. This can happen by double-clicking on an item in the recently used resources list, or by pressing <keycap>Enter</keycap>. |
|
|
This signal is emitted when there is a change in the set of selected recently used resources. This can happen when a user modifies the selection with the mouse or the keyboard, or when explicitely calling functions to change the selection. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|