Re: Gtk2::FileFilter by mime type

----- Original Message ----
From: Zettai Muri <zettaimuri ymail com>
To: gtk-perl-list gnome org
Sent: Thu, 26 November, 2009 9:28:58 PM
Subject: Gtk2::FileFilter by mime type

Hi All,

I am trying to use the following filters:

my $sound_filter = Gtk2::FileFilter->new;
my $image_filter = Gtk2::FileFilter->new;

Because I read here: 
that 'GtkFileFilter allows wildcards for the
subtype of a mime type, so you can e.g. filter for image/*.'

Is this also possible with the Perl bindings?

At the moment, when my file chooser opens and I navigate to a directory where I 
have some jpgs I don't see any files.

If I change my filter to:

I can see the files.

Could someone please tell me what I'm doing wrong when using 

Many thanks,


Is anyone able to help with this?

Win 1 of 4 Sony home entertainment packs thanks to Yahoo!7.
Enter now:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]