1Gtk2::RecentChooser(3)User Contributed Perl DocumentationGtk2::RecentChooser(3)
2
3
4

NAME

6       Gtk2::RecentChooser
7

HIERARCHY

9         Glib::Object::_Unregistered::GInterface
10         +----Gtk2::RecentChooser
11

METHODS

13       $chooser->add_filter ($filter)
14
15           * $filter (Gtk2::RecentFilter)
16
17       recentinfo = $chooser->get_current_item
18
19       string = $chooser->get_current_uri
20
21       $chooser->set_current_uri ($uri)
22
23           * $uri (string)
24
25           May croak with a Glib::Error in $@ on failure.
26
27       recentfilter = $chooser->get_filter
28
29       $chooser->set_filter ($filter)
30
31           * $filter (Gtk2::RecentFilter)
32
33       (list) = $chooser->get_items
34
35       integer = $chooser->get_limit
36
37       $chooser->set_limit ($limit)
38
39           * $limit (integer)
40
41       (filters) = $chooser->list_filters
42
43       boolean = $chooser->get_local_only
44
45       $chooser->set_local_only ($local_only)
46
47           * $local_only (boolean)
48
49       $chooser->remove_filter ($filter)
50
51           * $filter (Gtk2::RecentFilter)
52
53       $chooser->select_all
54
55       boolean = $chooser->get_select_multiple
56
57       $chooser->set_select_multiple ($select_multiple)
58
59           * $select_multiple (boolean)
60
61       $chooser->select_uri ($uri)
62
63           * $uri (string)
64
65           May croak with a Glib::Error in $@ on failure.
66
67       boolean = $chooser->get_show_icons
68
69       $chooser->set_show_icons ($show_icons)
70
71           * $show_icons (boolean)
72
73       boolean = $chooser->get_show_not_found
74
75       $chooser->set_show_not_found ($show_not_found)
76
77           * $show_not_found (boolean)
78
79       boolean = $chooser->get_show_private
80
81       $chooser->set_show_private ($show_private)
82
83           * $show_private (boolean)
84
85       boolean = $chooser->get_show_tips
86
87       $chooser->set_show_tips ($show_tips)
88
89           * $show_tips (boolean)
90
91       $chooser->set_sort_func ($sort_func, $sort_data=undef)
92
93           * $sort_func (scalar)
94           * $sort_data (scalar)
95
96       recentsorttype = $chooser->get_sort_type
97
98       $chooser->set_sort_type ($sort_type)
99
100           * $sort_type (Gtk2::RecentSortType)
101
102       $chooser->unselect_all
103
104       $chooser->unselect_uri ($uri)
105
106           * $uri (string)
107
108       (list) = $chooser->get_uris
109

PROPERTIES

111       'filter' (Gtk2::RecentFilter : readable / writable)
112           The current filter for selecting which resources are displayed
113
114       'limit' (integer : readable / writable)
115           The maximum number of items to be displayed
116
117       'local-only' (boolean : readable / writable)
118           Whether the selected resource(s) should be limited to local file:
119           URIs
120
121       'recent-manager' (Gtk2::RecentManager : writable / construct-only)
122           The RecentManager object to use
123
124       'select-multiple' (boolean : readable / writable)
125           Whether to allow multiple items to be selected
126
127       'show-icons' (boolean : readable / writable)
128           Whether there should be an icon near the item
129
130       'show-not-found' (boolean : readable / writable)
131           Whether the items pointing to unavailable resources should be dis‐
132           played
133
134       'show-private' (boolean : readable / writable)
135           Whether the private items should be displayed
136
137       'show-tips' (boolean : readable / writable)
138           Whether there should be a tooltip on the item
139
140       'sort-type' (Gtk2::RecentSortType : readable / writable)
141           The sorting order of the items displayed
142

SIGNALS

144       selection-changed (Gtk2::RecentChooser)
145       item-activated (Gtk2::RecentChooser)
146

ENUMS AND FLAGS

148       enum Gtk2::RecentSortType
149
150       * 'none' / 'GTK_RECENT_SORT_NONE'
151       * 'mru' / 'GTK_RECENT_SORT_MRU'
152       * 'lru' / 'GTK_RECENT_SORT_LRU'
153       * 'custom' / 'GTK_RECENT_SORT_CUSTOM'
154
155       enum GtkRecentChooserError
156
157       * 'not-found' / 'GTK_RECENT_CHOOSER_ERROR_NOT_FOUND'
158       * 'invalid-uri' / 'GTK_RECENT_CHOOSER_ERROR_INVALID_URI'
159

SEE ALSO

161       Gtk2, Glib::Object::_Unregistered::GInterface
162
164       Copyright (C) 2003-2007 by the gtk2-perl team.
165
166       This software is licensed under the LGPL.  See Gtk2 for a full notice.
167
168
169
170perl v5.8.8                       2007-03-18            Gtk2::RecentChooser(3)
Impressum