![]() |
![]() |
Public Types | |
typedef sigc::slot<void> | SlotChanged |
For instance, void on_changed();. | |
Public Member Functions | |
bool | add_item (const Glib::ustring& uri, const Data& recent_data) |
bool | add_item (const Glib::ustring& uri) |
Glib::ListHandle< Glib::RefPtr< RecentInfo > > | get_items () const |
int | get_limit () const |
const GtkRecentManager* | gobj () const |
Provides access to the underlying C GObject. | |
GtkRecentManager* | gobj () |
Provides access to the underlying C GObject. | |
GtkRecentManager* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
bool | has_item (const Glib::ustring& uri) const |
RecentInfo | lookup_item (const Glib::ustring& uri) |
bool | move_item (const Glib::ustring& uri, const Glib::ustring& new_uri) |
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_filename () const |
The full path to the file to be used to store and read the list. | |
Glib::PropertyProxy_ReadOnly< int > | property_limit () const |
The maximum number of items to be returned by gtk_recent_manager_get_items. | |
Glib::PropertyProxy<int> | property_limit () |
The maximum number of items to be returned by gtk_recent_manager_get_items. | |
Glib::PropertyProxy_ReadOnly< int > | property_size () const |
The size of the recently used resources list. | |
int | purge_items () |
bool | remove_item (const Glib::ustring& uri) |
void | set_limit (int limit) |
void | set_screen (const Glib::RefPtr<Gdk::Screen>& screen) |
Glib::SignalProxy0<void> | signal_changed () |
The "changed" signal is emitted when an item in the recently used resources list is changed. | |
virtual | ~RecentManager () |
Static Public Member Functions | |
static Glib::RefPtr<RecentManager> | create () |
static Glib::RefPtr<RecentManager> | get_default () |
static Glib::RefPtr<RecentManager> | get_for_screen (const Glib::RefPtr<Gdk::Screen>& screen) |
Protected Member Functions | |
RecentManager () | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gtk::RecentManager> | wrap (GtkRecentManager* object, bool take_copy=false) |
Classes | |
class | Data |
|
For instance, void on_changed();.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C GObject.
Reimplemented from Glib::ObjectBase. |
|
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
|
|
|
|
|
|
|
The full path to the file to be used to store and read the list. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
The maximum number of items to be returned by gtk_recent_manager_get_items. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
The maximum number of items to be returned by gtk_recent_manager_get_items. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
The size of the recently used resources list. You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
|
|
|
|
|
|
|
|
|
The "changed" signal is emitted when an item in the recently used resources list is changed.
|
|
|