Gtk2::FileFilter(3) User Contributed Perl Documentation Gtk2::FileFilter(3)

Gtk2::FileFilter - wrapper for GtkFileFilter

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::FileFilter

$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)

Since: gtk+ 2.6

$filter_info (scalar)

$filter->set_name ($name)

$name (string)

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

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object

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

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

2024-09-01 perl v5.40.0