|
NAMEGtk2::RecentManager - wrapper for GtkRecentManagerHIERARCHYGlib::Object +----Gtk2::RecentManager METHODSrecentmanager = Gtk2::RecentManager->newboolean = $manager->add_full ($uri, $data)
Add $uri to the list of recently used documents. Instead of letting the Gtk2::RecentManager object guess the meta-data, use $data to supply it. $data is a hash reference with these keys:
boolean = $manager->add_item ($uri)
Add $uri to the list of recently used documents. The Gtk2::RecentManager object will try to guess the meta-data of the document from its URI, but if you know it you should use "add_full" above. recentmanager = Gtk2::RecentManager->get_defaultrecentmanager = Gtk2::RecentManager->get_for_screen ($screen)
boolean = $manager->has_item ($uri)
(items) = $manager->get_itemsinteger = $manager->get_limit$manager->set_limit ($limit)
recentinfo = $manager->lookup_item ($uri)
May croak with a Glib::Error in $@ on failure. $manager->move_item ($old_uri, $new_uri)
May croak with a Glib::Error in $@ on failure. integer = $manager->purge_itemsMay croak with a Glib::Error in $@ on failure.$manager->remove_item ($uri)
May croak with a Glib::Error in $@ on failure. $manager->set_screen ($screen)
PROPERTIES
SIGNALS
ENUMS AND FLAGSenum GtkRecentManagerError
SEE ALSOGtk2, Glib::ObjectCOPYRIGHTCopyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Visit the GSP FreeBSD Man Page Interface. |