1Gtk2::FileFilter(3)   User Contributed Perl Documentation  Gtk2::FileFilter(3)
2
3
4

NAME

6       Gtk2::FileFilter - wrapper for GtkFileFilter
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::FileFilter
13

METHODS

15   filefilter = Gtk2::FileFilter->new
16   $filter->add_custom ($needed, $func, $data=undef)
17       ·   $needed (Gtk2::FileFilterFlags)
18
19       ·   $func (scalar)
20
21       ·   $data (scalar)
22
23   $filter->add_mime_type ($mime_type)
24       ·   $mime_type (string)
25
26   $filter->add_pattern ($pattern)
27       ·   $pattern (string)
28
29   $filter->add_pixbuf_formats
30       Since: gtk+ 2.6
31
32   boolean = $filter->filter ($filter_info)
33       ·   $filter_info (scalar)
34
35   string = $filter->get_name
36   $filter->set_name ($name)
37       ·   $name (string)
38
39   filefilterflags = $filter->get_needed

ENUMS AND FLAGS

41   flags Gtk2::FileFilterFlags
42       ·   'filename' / 'GTK_FILE_FILTER_FILENAME'
43
44       ·   'uri' / 'GTK_FILE_FILTER_URI'
45
46       ·   'display-name' / 'GTK_FILE_FILTER_DISPLAY_NAME'
47
48       ·   'mime-type' / 'GTK_FILE_FILTER_MIME_TYPE'
49

SEE ALSO

51       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object
52
54       Copyright (C) 2003-2011 by the gtk2-perl team.
55
56       This software is licensed under the LGPL.  See Gtk2 for a full notice.
57
58
59
60perl v5.28.1                      2019-02-02               Gtk2::FileFilter(3)
Impressum