Gtk2::FileFilter(3) User Contributed Perl Documentation Gtk2::FileFilter(3) NAME Gtk2::FileFilter - wrapper for GtkFileFilter HIERARCHY Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::FileFilter METHODS filefilter = Gtk2::FileFilter->new $filter->add_custom ($needed, $func, $data=undef) o $needed (Gtk2::FileFilterFlags) o $func (scalar) o $data (scalar) $filter->add_mime_type ($mime_type) o $mime_type (string) $filter->add_pattern ($pattern) o $pattern (string) $filter->add_pixbuf_formats Since: gtk+ 2.6 boolean = $filter->filter ($filter_info) o $filter_info (scalar) string = $filter->get_name $filter->set_name ($name) o $name (string) filefilterflags = $filter->get_needed ENUMS AND FLAGS flags Gtk2::FileFilterFlags o 'filename' / 'GTK_FILE_FILTER_FILENAME' o 'uri' / 'GTK_FILE_FILTER_URI' o 'display-name' / 'GTK_FILE_FILTER_DISPLAY_NAME' o 'mime-type' / 'GTK_FILE_FILTER_MIME_TYPE' SEE ALSO Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.40.0 2024-09-01 Gtk2::FileFilter(3)