Re: Filechooser issues

2008-07-11 Thread Jerry Hill
On Fri, Jul 11, 2008 at 3:09 PM, Mr SZ <[EMAIL PROTECTED]> wrote: > ff = gtk.FileFilter.add_pixbuf_formats() > The documentation doesn't say anything about an argument to be passed: > http://www.pygtk.org/docs/pygtk/class-gtkfilefilter.html#method-gtkfilefilter--add-pixbuf-formats I don't kno

Filechooser issues

2008-07-11 Thread Mr SZ
Hi, I am using a gtk.filechooser dialog to open and save files.How do I add a filter so that only images are filtered ?I did something like this:     def get_save_filename(self):         filename = None     chooser = gtk.FileChooserDialog("Save File...", self.window,