Posted: Sun Sep 25, 2005 6:21 am Post subject: Q: How to use a Gtk::FileFilter to restrict to PNG-files?
Greetings everybody!
I want to enforce only PNG-files to be selected via a Gtk::FileChooser (or Gtk::FileChooserButton). From reading the API-reference of gtkmm I didn't get enough clues on Gtk::FileFilter to get it working. Furthermore I also didn't find a simple example for this on the web yet. Can anybody help out?
Posted: Sun Sep 25, 2005 6:30 am Post subject: insert brain...
Well... in the future I should look at PyGTK-examples and derive the stuff I need for C++ from that. I just found an example and got it working. All I have to do to get the desired effect is: