1Gtk2::FileFilter(3) User Contributed Perl Documentation Gtk2::FileFilter(3)
2
3
4
6 Gtk2::FileFilter
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::FileFilter
13
15 filefilter = Gtk2::FileFilter->new
16
17 $filter->add_custom ($needed, $func, $data=undef)
18
19 * $needed (Gtk2::FileFilterFlags)
20 * $func (scalar)
21 * $data (scalar)
22
23 $filter->add_mime_type ($mime_type)
24
25 * $mime_type (string)
26
27 $filter->add_pattern ($pattern)
28
29 * $pattern (string)
30
31 $filter->add_pixbuf_formats
32
33 boolean = $filter->filter ($filter_info)
34
35 * $filter_info (scalar)
36
37 string = $filter->get_name
38
39 $filter->set_name ($name)
40
41 * $name (string)
42
43 filefilterflags = $filter->get_needed
44
46 flags Gtk2::FileFilterFlags
47
48 * 'filename' / 'GTK_FILE_FILTER_FILENAME'
49 * 'uri' / 'GTK_FILE_FILTER_URI'
50 * 'display-name' / 'GTK_FILE_FILTER_DISPLAY_NAME'
51 * 'mime-type' / 'GTK_FILE_FILTER_MIME_TYPE'
52
54 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
55
57 Copyright (C) 2003-2007 by the gtk2-perl team.
58
59 This software is licensed under the LGPL. See Gtk2 for a full notice.
60
61
62
63perl v5.8.8 2007-03-18 Gtk2::FileFilter(3)