PDA

View Full Version : [SOLVED] Python: File selection in pygtk



holihue
October 31st, 2007, 01:13 PM
Why is the file selection in pygtk so ugly?

http://www.pygtk.org/pygtk2tutorial/sec-FileSelections.html#fileselfig

I tried to run the script, but it was like the screenshot.


Is there a way to get a nicer file selector, like when you save a page in firefox?(see the attachment)

archivator
October 31st, 2007, 02:02 PM
That seems outdated. Try gtk.FileChooserDialog ;)

You might want to install devhelp, python-gtk2-doc, and python-gtk2-tutorial ;)

holihue
October 31st, 2007, 02:04 PM
That seems outdated. Try gtk.FileChooserDialog ;)

You might want to install devhelp, python-gtk2-doc, and python-gtk2-tutorial ;)

Yes, and I found the newer one...:)


... in one of the examples(filechooser.py)