Next: Gtk2::Requisition | Previous: Gtk2::RecentInfo | [Gtk2-Perl - Table of Contents] | [Gtk2-Perl - Index] |
Gtk2::RecentManager
Glib::Object +----Gtk2::RecentManager
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:
"%u"
, which will be expanded to the document's URI,
or the variable "%f"
which will be expanded to the document's canonical
full path.
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 Gtk2::RecentManager::add_full.
May croak with a Glib::Error in $@ on failure.
May croak with a Glib::Error in $@ on failure.
May croak with a Glib::Error in $@ on failure.
May croak with a Glib::Error in $@ on failure.
'not-found' / 'GTK_RECENT_MANAGER_ERROR_NOT_FOUND'
'invalid-uri' / 'GTK_RECENT_MANAGER_ERROR_INVALID_URI'
'invalid-encoding' / 'GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING'
'not-registered' / 'GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED'
'read' / 'GTK_RECENT_MANAGER_ERROR_READ'
'write' / 'GTK_RECENT_MANAGER_ERROR_WRITE'
'unknown' / 'GTK_RECENT_MANAGER_ERROR_UNKNOWN'
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.