- From: "Andrew E. Makeev" <andrew solvo ru>
- To: gtk-list <gtk-list gnome org>, Gtkmm list <gtkmm-list gnome org>
- Subject: Mime types
- Date: Fri, 03 Mar 2006 20:08:06 +0300
I am using Gtk::FileChooserDialog.
And add filter to allow select only images:
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.
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.
thanks in advance,
] [Thread Prev