1Gtk2::RecentFilter(3) User Contributed Perl DocumentationGtk2::RecentFilter(3)
2
3
4
6 Gtk2::RecentFilter - wrapper for GtkRecentFilter
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::RecentFilter
13
15 recentfilter = Gtk2::RecentFilter->new
16 $filter->add_age ($days)
17 · $days (integer)
18
19 $filter->add_application ($application)
20 · $application (string)
21
22 $filter->add_custom ($needed, $func, $data=undef)
23 · $needed (Gtk2::RecentFilterFlags)
24
25 · $func (scalar)
26
27 · $data (scalar)
28
29 $filter->add_group ($group)
30 · $group (string)
31
32 $filter->add_mime_type ($mime_type)
33 · $mime_type (string)
34
35 $filter->add_pattern ($pattern)
36 · $pattern (string)
37
38 $filter->add_pixbuf_formats
39 boolean = $filter->filter ($filter_info)
40 · $filter_info (scalar)
41
42 string = $filter->get_name
43 $filter->set_name ($name)
44 · $name (string)
45
46 recentfilterflags = $filter->get_needed
48 flags Gtk2::RecentFilterFlags
49 · 'uri' / 'GTK_RECENT_FILTER_URI'
50
51 · 'display-name' / 'GTK_RECENT_FILTER_DISPLAY_NAME'
52
53 · 'mime-type' / 'GTK_RECENT_FILTER_MIME_TYPE'
54
55 · 'application' / 'GTK_RECENT_FILTER_APPLICATION'
56
57 · 'group' / 'GTK_RECENT_FILTER_GROUP'
58
59 · 'age' / 'GTK_RECENT_FILTER_AGE'
60
62 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
63
65 Copyright (C) 2003-2011 by the gtk2-perl team.
66
67 This software is licensed under the LGPL. See Gtk2 for a full notice.
68
69
70
71perl v5.30.1 2020-01-30 Gtk2::RecentFilter(3)