Mime types
- From: "Andrew E. Makeev" <andrew solvo ru>
- To: gtk-list <gtk-list gnome org>, Gtkmm list <gtkmm-list gnome org>
- Cc:
- Subject: Mime types
- Date: Fri, 03 Mar 2006 20:08:06 +0300
Good day.
I am using Gtk::FileChooserDialog.
And add filter to allow select only images:
...
Gtk::FileFilter filter;
filter.set_name( _( "Image Files" ) );
filter.add_mime_type( "image/*" );
fileDlg.add_filter( filter );
...
Problem: it works well on Linux, but shows nothing on Win32 platform.
Gtk-2.4.14
Gtkmm-2.4.11
Win32 platform - using MinGW to build application.
I could use add_pattern() to filter images by file extension, but I
guess, it is not so illegant way as with mime types.
Any suggestions?
thanks in advance,
-andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]