Gtk2::FileFilter

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::FileFilter  

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'
 

SEE ALSO

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

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
METHODS
filefilter = Gtk2::FileFilter->new
$filter->add_custom ($needed, $func, $data=undef)
$filter->add_mime_type ($mime_type)
$filter->add_pattern ($pattern)
$filter->add_pixbuf_formats
boolean = $filter->filter ($filter_info)
string = $filter->get_name
$filter->set_name ($name)
filefilterflags = $filter->get_needed
ENUMS AND FLAGS
flags Gtk2::FileFilterFlags
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages