.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::RecentChooser 3" .TH Gtk2::RecentChooser 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::RecentChooser \- wrapper for GtkRecentChooser .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Interface \& +\-\-\-\-Gtk2::RecentChooser .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "$chooser\->\fBadd_filter\fP ($filter)" .el .SS "\f(CW$chooser\fP\->\fBadd_filter\fP ($filter)" .IX Subsection "$chooser->add_filter ($filter)" .IP \(bu 4 \&\f(CW$filter\fR (Gtk2::RecentFilter) .ie n .SS "recentinfo = $chooser\->\fBget_current_item\fP" .el .SS "recentinfo = \f(CW$chooser\fP\->\fBget_current_item\fP" .IX Subsection "recentinfo = $chooser->get_current_item" .ie n .SS "string = $chooser\->\fBget_current_uri\fP" .el .SS "string = \f(CW$chooser\fP\->\fBget_current_uri\fP" .IX Subsection "string = $chooser->get_current_uri" .ie n .SS "$chooser\->\fBset_current_uri\fP ($uri)" .el .SS "\f(CW$chooser\fP\->\fBset_current_uri\fP ($uri)" .IX Subsection "$chooser->set_current_uri ($uri)" .IP \(bu 4 \&\f(CW$uri\fR (string) .PP May croak with a Glib::Error in $@ on failure. .ie n .SS "recentfilter = $chooser\->\fBget_filter\fP" .el .SS "recentfilter = \f(CW$chooser\fP\->\fBget_filter\fP" .IX Subsection "recentfilter = $chooser->get_filter" .ie n .SS "$chooser\->\fBset_filter\fP ($filter)" .el .SS "\f(CW$chooser\fP\->\fBset_filter\fP ($filter)" .IX Subsection "$chooser->set_filter ($filter)" .IP \(bu 4 \&\f(CW$filter\fR (Gtk2::RecentFilter) .ie n .SS "(list) = $chooser\->\fBget_items\fP" .el .SS "(list) = \f(CW$chooser\fP\->\fBget_items\fP" .IX Subsection "(list) = $chooser->get_items" .ie n .SS "integer = $chooser\->\fBget_limit\fP" .el .SS "integer = \f(CW$chooser\fP\->\fBget_limit\fP" .IX Subsection "integer = $chooser->get_limit" .ie n .SS "$chooser\->\fBset_limit\fP ($limit)" .el .SS "\f(CW$chooser\fP\->\fBset_limit\fP ($limit)" .IX Subsection "$chooser->set_limit ($limit)" .IP \(bu 4 \&\f(CW$limit\fR (integer) .ie n .SS "(filters) = $chooser\->\fBlist_filters\fP" .el .SS "(filters) = \f(CW$chooser\fP\->\fBlist_filters\fP" .IX Subsection "(filters) = $chooser->list_filters" .ie n .SS "boolean = $chooser\->\fBget_local_only\fP" .el .SS "boolean = \f(CW$chooser\fP\->\fBget_local_only\fP" .IX Subsection "boolean = $chooser->get_local_only" .ie n .SS "$chooser\->\fBset_local_only\fP ($local_only)" .el .SS "\f(CW$chooser\fP\->\fBset_local_only\fP ($local_only)" .IX Subsection "$chooser->set_local_only ($local_only)" .IP \(bu 4 \&\f(CW$local_only\fR (boolean) .ie n .SS "$chooser\->\fBremove_filter\fP ($filter)" .el .SS "\f(CW$chooser\fP\->\fBremove_filter\fP ($filter)" .IX Subsection "$chooser->remove_filter ($filter)" .IP \(bu 4 \&\f(CW$filter\fR (Gtk2::RecentFilter) .ie n .SS $chooser\->\fBselect_all\fP .el .SS \f(CW$chooser\fP\->\fBselect_all\fP .IX Subsection "$chooser->select_all" .ie n .SS "boolean = $chooser\->\fBget_select_multiple\fP" .el .SS "boolean = \f(CW$chooser\fP\->\fBget_select_multiple\fP" .IX Subsection "boolean = $chooser->get_select_multiple" .ie n .SS "$chooser\->\fBset_select_multiple\fP ($select_multiple)" .el .SS "\f(CW$chooser\fP\->\fBset_select_multiple\fP ($select_multiple)" .IX Subsection "$chooser->set_select_multiple ($select_multiple)" .IP \(bu 4 \&\f(CW$select_multiple\fR (boolean) .ie n .SS "$chooser\->\fBselect_uri\fP ($uri)" .el .SS "\f(CW$chooser\fP\->\fBselect_uri\fP ($uri)" .IX Subsection "$chooser->select_uri ($uri)" .IP \(bu 4 \&\f(CW$uri\fR (string) .PP May croak with a Glib::Error in $@ on failure. .ie n .SS "boolean = $chooser\->\fBget_show_icons\fP" .el .SS "boolean = \f(CW$chooser\fP\->\fBget_show_icons\fP" .IX Subsection "boolean = $chooser->get_show_icons" .ie n .SS "$chooser\->\fBset_show_icons\fP ($show_icons)" .el .SS "\f(CW$chooser\fP\->\fBset_show_icons\fP ($show_icons)" .IX Subsection "$chooser->set_show_icons ($show_icons)" .IP \(bu 4 \&\f(CW$show_icons\fR (boolean) .ie n .SS "boolean = $chooser\->\fBget_show_not_found\fP" .el .SS "boolean = \f(CW$chooser\fP\->\fBget_show_not_found\fP" .IX Subsection "boolean = $chooser->get_show_not_found" .ie n .SS "$chooser\->\fBset_show_not_found\fP ($show_not_found)" .el .SS "\f(CW$chooser\fP\->\fBset_show_not_found\fP ($show_not_found)" .IX Subsection "$chooser->set_show_not_found ($show_not_found)" .IP \(bu 4 \&\f(CW$show_not_found\fR (boolean) .ie n .SS "boolean = $chooser\->\fBget_show_private\fP" .el .SS "boolean = \f(CW$chooser\fP\->\fBget_show_private\fP" .IX Subsection "boolean = $chooser->get_show_private" .ie n .SS "$chooser\->\fBset_show_private\fP ($show_private)" .el .SS "\f(CW$chooser\fP\->\fBset_show_private\fP ($show_private)" .IX Subsection "$chooser->set_show_private ($show_private)" .IP \(bu 4 \&\f(CW$show_private\fR (boolean) .ie n .SS "boolean = $chooser\->\fBget_show_tips\fP" .el .SS "boolean = \f(CW$chooser\fP\->\fBget_show_tips\fP" .IX Subsection "boolean = $chooser->get_show_tips" .ie n .SS "$chooser\->\fBset_show_tips\fP ($show_tips)" .el .SS "\f(CW$chooser\fP\->\fBset_show_tips\fP ($show_tips)" .IX Subsection "$chooser->set_show_tips ($show_tips)" .IP \(bu 4 \&\f(CW$show_tips\fR (boolean) .ie n .SS "$chooser\->\fBset_sort_func\fP ($sort_func, $sort_data=undef)" .el .SS "\f(CW$chooser\fP\->\fBset_sort_func\fP ($sort_func, \f(CW$sort_data\fP=undef)" .IX Subsection "$chooser->set_sort_func ($sort_func, $sort_data=undef)" .IP \(bu 4 \&\f(CW$sort_func\fR (scalar) .IP \(bu 4 \&\f(CW$sort_data\fR (scalar) .ie n .SS "recentsorttype = $chooser\->\fBget_sort_type\fP" .el .SS "recentsorttype = \f(CW$chooser\fP\->\fBget_sort_type\fP" .IX Subsection "recentsorttype = $chooser->get_sort_type" .ie n .SS "$chooser\->\fBset_sort_type\fP ($sort_type)" .el .SS "\f(CW$chooser\fP\->\fBset_sort_type\fP ($sort_type)" .IX Subsection "$chooser->set_sort_type ($sort_type)" .IP \(bu 4 \&\f(CW$sort_type\fR (Gtk2::RecentSortType) .ie n .SS $chooser\->\fBunselect_all\fP .el .SS \f(CW$chooser\fP\->\fBunselect_all\fP .IX Subsection "$chooser->unselect_all" .ie n .SS "$chooser\->\fBunselect_uri\fP ($uri)" .el .SS "\f(CW$chooser\fP\->\fBunselect_uri\fP ($uri)" .IX Subsection "$chooser->unselect_uri ($uri)" .IP \(bu 4 \&\f(CW$uri\fR (string) .ie n .SS "(list) = $chooser\->\fBget_uris\fP" .el .SS "(list) = \f(CW$chooser\fP\->\fBget_uris\fP" .IX Subsection "(list) = $chooser->get_uris" .SH PROPERTIES .IX Header "PROPERTIES" .IP "'filter' (Gtk2::RecentFilter : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'filter' (Gtk2::RecentFilter : default undef : readable / writable / private / static-nick / static-blurb)" The current filter for selecting which resources are displayed .IP "'limit' (integer : default \-1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'limit' (integer : default -1 : readable / writable / private / static-nick / static-blurb)" The maximum number of items to be displayed .IP "'local\-only' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'local-only' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the selected resource(s) should be limited to local file: URIs .IP "'recent\-manager' (Gtk2::RecentManager : default undef : writable / construct-only / private / static-nick / static-blurb)" 4 .IX Item "'recent-manager' (Gtk2::RecentManager : default undef : writable / construct-only / private / static-nick / static-blurb)" The RecentManager object to use .IP "'select\-multiple' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'select-multiple' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether to allow multiple items to be selected .IP "'show\-icons' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-icons' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether there should be an icon near the item .IP "'show\-not\-found' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-not-found' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the items pointing to unavailable resources should be displayed .IP "'show\-private' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-private' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the private items should be displayed .IP "'show\-tips' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'show-tips' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether there should be a tooltip on the item .IP "'sort\-type' (Gtk2::RecentSortType : default ""none"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'sort-type' (Gtk2::RecentSortType : default ""none"" : readable / writable / private / static-nick / static-blurb)" The sorting order of the items displayed .SH SIGNALS .IX Header "SIGNALS" .IP "\fBitem-activated\fR (Gtk2::RecentChooser)" 4 .IX Item "item-activated (Gtk2::RecentChooser)" .PD 0 .IP "\fBselection-changed\fR (Gtk2::RecentChooser)" 4 .IX Item "selection-changed (Gtk2::RecentChooser)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::RecentSortType" .IX Subsection "enum Gtk2::RecentSortType" .IP \(bu 4 \&'none' / 'GTK_RECENT_SORT_NONE' .IP \(bu 4 \&'mru' / 'GTK_RECENT_SORT_MRU' .IP \(bu 4 \&'lru' / 'GTK_RECENT_SORT_LRU' .IP \(bu 4 \&'custom' / 'GTK_RECENT_SORT_CUSTOM' .SS "enum GtkRecentChooserError" .IX Subsection "enum GtkRecentChooserError" .IP \(bu 4 \&'not\-found' / 'GTK_RECENT_CHOOSER_ERROR_NOT_FOUND' .IP \(bu 4 \&'invalid\-uri' / 'GTK_RECENT_CHOOSER_ERROR_INVALID_URI' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Interface .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.