Gtk2::FileFilter(3) wrapper for GtkFileFilter

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----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

Since: gtk+ 2.6

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'

COPYRIGHT

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

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