1Gtk2::RecentChooser(3)User Contributed Perl DocumentationGtk2::RecentChooser(3)
2
3
4
6 Gtk2::RecentChooser
7
9 Glib::Interface
10 +----Gtk2::RecentChooser
11
13 $chooser->add_filter ($filter)
14 · $filter (Gtk2::RecentFilter)
15
16 recentinfo = $chooser->get_current_item
17 string = $chooser->get_current_uri
18 $chooser->set_current_uri ($uri)
19 · $uri (string)
20
21 May croak with a Glib::Error in $@ on failure.
22
23 recentfilter = $chooser->get_filter
24 $chooser->set_filter ($filter)
25 · $filter (Gtk2::RecentFilter)
26
27 (list) = $chooser->get_items
28 integer = $chooser->get_limit
29 $chooser->set_limit ($limit)
30 · $limit (integer)
31
32 (filters) = $chooser->list_filters
33 boolean = $chooser->get_local_only
34 $chooser->set_local_only ($local_only)
35 · $local_only (boolean)
36
37 $chooser->remove_filter ($filter)
38 · $filter (Gtk2::RecentFilter)
39
40 $chooser->select_all
41 boolean = $chooser->get_select_multiple
42 $chooser->set_select_multiple ($select_multiple)
43 · $select_multiple (boolean)
44
45 $chooser->select_uri ($uri)
46 · $uri (string)
47
48 May croak with a Glib::Error in $@ on failure.
49
50 boolean = $chooser->get_show_icons
51 $chooser->set_show_icons ($show_icons)
52 · $show_icons (boolean)
53
54 boolean = $chooser->get_show_not_found
55 $chooser->set_show_not_found ($show_not_found)
56 · $show_not_found (boolean)
57
58 boolean = $chooser->get_show_private
59 $chooser->set_show_private ($show_private)
60 · $show_private (boolean)
61
62 boolean = $chooser->get_show_tips
63 $chooser->set_show_tips ($show_tips)
64 · $show_tips (boolean)
65
66 $chooser->set_sort_func ($sort_func, $sort_data=undef)
67 · $sort_func (scalar)
68
69 · $sort_data (scalar)
70
71 recentsorttype = $chooser->get_sort_type
72 $chooser->set_sort_type ($sort_type)
73 · $sort_type (Gtk2::RecentSortType)
74
75 $chooser->unselect_all
76 $chooser->unselect_uri ($uri)
77 · $uri (string)
78
79 (list) = $chooser->get_uris
81 'filter' (Gtk2::RecentFilter : readable / writable / private)
82 The current filter for selecting which resources are displayed
83
84 'limit' (integer : readable / writable / private)
85 The maximum number of items to be displayed
86
87 'local-only' (boolean : readable / writable / private)
88 Whether the selected resource(s) should be limited to local file:
89 URIs
90
91 'recent-manager' (Gtk2::RecentManager : writable / construct-only /
92 private)
93 The RecentManager object to use
94
95 'select-multiple' (boolean : readable / writable / private)
96 Whether to allow multiple items to be selected
97
98 'show-icons' (boolean : readable / writable / private)
99 Whether there should be an icon near the item
100
101 'show-not-found' (boolean : readable / writable / private)
102 Whether the items pointing to unavailable resources should be
103 displayed
104
105 'show-private' (boolean : readable / writable / private)
106 Whether the private items should be displayed
107
108 'show-tips' (boolean : readable / writable / private)
109 Whether there should be a tooltip on the item
110
111 'sort-type' (Gtk2::RecentSortType : readable / writable / private)
112 The sorting order of the items displayed
113
115 item-activated (Gtk2::RecentChooser)
116 selection-changed (Gtk2::RecentChooser)
117
119 enum Gtk2::RecentSortType
120 · 'none' / 'GTK_RECENT_SORT_NONE'
121
122 · 'mru' / 'GTK_RECENT_SORT_MRU'
123
124 · 'lru' / 'GTK_RECENT_SORT_LRU'
125
126 · 'custom' / 'GTK_RECENT_SORT_CUSTOM'
127
128 enum GtkRecentChooserError
129 · 'not-found' / 'GTK_RECENT_CHOOSER_ERROR_NOT_FOUND'
130
131 · 'invalid-uri' / 'GTK_RECENT_CHOOSER_ERROR_INVALID_URI'
132
134 Gtk2, Glib::Interface
135
137 Copyright (C) 2003-2008 by the gtk2-perl team.
138
139 This software is licensed under the LGPL. See Gtk2 for a full notice.
140
141
142
143perl v5.12.0 2010-05-02 Gtk2::RecentChooser(3)