/usr/lib/perl5/Gtk2/RecentManager.pod is in libgtk2-perl-doc 2:1.249-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 | =head1 NAME
Gtk2::RecentManager - wrapper for GtkRecentManager
=cut
=head1 HIERARCHY
Glib::Object
+----Gtk2::RecentManager
=cut
=head1 METHODS
=head2 recentmanager = Gtk2::RecentManager-E<gt>B<new>
=head2 boolean = $manager-E<gt>B<add_full> ($uri, $data)
=over
=item * $uri (string)
=item * $data (scalar)
=back
Add I<$uri> to the list of recently used documents. Instead of letting the
Gtk2::RecentManager object guess the meta-data, use I<$data> to supply it.
I<$data> is a hash reference with these keys:
=over
=item display_name
The name to be used when displaying the document inside the recently used
documents list.
=item description
A short description of the document.
=item mime_type
The MIME type of the document. [Mandatory]
=item app_name
The name of the application that is registering the document. You might
use the same name you used in C<Glib::set_application_name>
(see L<Glib::Utils>).
=item app_exec
The command line needed to launch the application with the document. You
can use the variable C<"%u">, which will be expanded to the document's URI,
or the variable C<"%f"> which will be expanded to the document's canonical
full path.
=item groups
An array reference, containing the group names the document belongs to.
=item is_private
Whether the document should be visible only to the applications and groups
that have registered it.
=back
=head2 boolean = $manager-E<gt>B<add_item> ($uri)
=over
=item * $uri (string)
=back
Add I<$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 C<add_full> above.
=head2 recentmanager = Gtk2::RecentManager-E<gt>B<get_default>
=head2 recentmanager = Gtk2::RecentManager-E<gt>B<get_for_screen> ($screen)
=over
=item * $screen (Gtk2::Gdk::Screen)
=back
=head2 boolean = $manager-E<gt>B<has_item> ($uri)
=over
=item * $uri (string)
=back
=head2 (items) = $manager->B<get_items>
=head2 integer = $manager-E<gt>B<get_limit>
=head2 $manager-E<gt>B<set_limit> ($limit)
=over
=item * $limit (integer)
=back
=head2 recentinfo = $manager-E<gt>B<lookup_item> ($uri)
=over
=item * $uri (string)
=back
May croak with a L<Glib::Error> in $@ on failure.
=head2 $manager-E<gt>B<move_item> ($old_uri, $new_uri)
=over
=item * $old_uri (string)
=item * $new_uri (string or undef)
=back
May croak with a L<Glib::Error> in $@ on failure.
=head2 integer = $manager-E<gt>B<purge_items>
May croak with a L<Glib::Error> in $@ on failure.
=head2 $manager-E<gt>B<remove_item> ($uri)
=over
=item * $uri (string)
=back
May croak with a L<Glib::Error> in $@ on failure.
=head2 $manager-E<gt>B<set_screen> ($screen)
=over
=item * $screen (Gtk2::Gdk::Screen)
=back
=cut
=head1 PROPERTIES
=over
=item 'filename' (string : default undef : readable / writable / construct-only)
The full path to the file to be used to store and read the list
=item 'limit' (integer : default -1 : readable / writable)
The maximum number of items to be returned by gtk_recent_manager_get_items()
=item 'size' (integer : default 0 : readable)
The size of the recently used resources list
=back
=cut
=head1 SIGNALS
=over
=item B<changed> (Gtk2::RecentManager)
=back
=cut
=head1 ENUMS AND FLAGS
=head2 enum GtkRecentManagerError
=over
=item * 'not-found' / 'GTK_RECENT_MANAGER_ERROR_NOT_FOUND'
=item * 'invalid-uri' / 'GTK_RECENT_MANAGER_ERROR_INVALID_URI'
=item * 'invalid-encoding' / 'GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING'
=item * 'not-registered' / 'GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED'
=item * 'read' / 'GTK_RECENT_MANAGER_ERROR_READ'
=item * 'write' / 'GTK_RECENT_MANAGER_ERROR_WRITE'
=item * 'unknown' / 'GTK_RECENT_MANAGER_ERROR_UNKNOWN'
=back
=cut
=head1 SEE ALSO
L<Gtk2>, L<Glib::Object>
=cut
=head1 COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See L<Gtk2> for a full notice.
=cut
|