Try something like:

popup=gtk.FileSelection('title')
# customize here popup.show_all()
popup.complete('*.txt')


Note you have to put the complete() after the show_all(). If you put it
before, then you'll need to hit 'tab' to get the same effect.

Hi Chriss,


Thanks for your reply. After some more experimenting, I noticed that the gnome file_selection dialog is based ond some different idea's than what one sees in file_selection dialogs under windows. That confused me a bit, but in fact is only a matter of habit.

thanks,

Toon

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to