![]() |
![]() |
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 () |
Glib::PropertyProxy_ReadOnly< RecentFilter* > | property_filter () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<RecentFilter*> | property_filter () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< int > | property_limit () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<int> | property_limit () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_local_only () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_local_only () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<RecentManager >> | property_recent_manager () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_select_multiple () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_select_multiple () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_show_icons () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_show_icons () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_show_not_found () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_show_not_found () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_show_private () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_show_private () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< bool > | property_show_tips () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<bool> | property_show_tips () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy_ReadOnly< RecentSortType > | property_sort_type () const |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
Glib::PropertyProxy<RecentSortType> | property_sort_type () |
You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
void | remove_filter (const RecentFilter& filter) |
void | select_all () |
bool | select_uri (const Glib::ustring& uri) |
bool | set_current_uri (const Glib::ustring& uri) |
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) |
Protected Member Functions | |
virtual void | add_filter_vfunc (const RecentFilter& filter) |
virtual Glib::ustring | get_current_uri_vfunc () const |
virtual Glib::RefPtr<RecentManager> | get_recent_manager_vfunc () |
virtual void | remove_filter_vfunc (const RecentFilter& filter) |
virtual void | select_all_vfunc () |
virtual void | unselect_all_vfunc () |
virtual void | unselect_uri_vfunc (const Glib::ustring& uri) |
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. |
|
|
|
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|