Gtk2::FileFilter(3)

NAME
Gtk2::FileFilter

HIERARCHY
  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::FileFilter

METHODS

  filefilter = Gtk2::FileFilter->new

  $filter->add_custom ($needed, $func, $data=undef)

    * $needed (Gtk2::FileFilterFlags)
    * $func (scalar)
    * $data (scalar)

  $filter->add_mime_type ($mime_type)

    * $mime_type (string)

  $filter->add_pattern ($pattern)
    * $pattern (string)

  $filter->add_pixbuf_formats

  boolean = $filter->filter ($filter_info)

    * $filter_info (scalar)

  string = $filter->get_name

  $filter->set_name ($name)
    * $name (string)

  filefilterflags = $filter->get_needed

ENUMS AND FLAGS

  flags Gtk2::FileFilterFlags

* 'filename' / 'GTK_FILE_FILTER_FILENAME'
* 'uri' / 'GTK_FILE_FILTER_URI'
* 'display-name' / 'GTK_FILE_FILTER_DISPLAY_NAME'
* 'mime-type' / 'GTK_FILE_FILTER_MIME_TYPE'

SEE ALSO
Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object

COPYRIGHT
Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.