[Glade-users] Missing options for FileChooserDialog



I have this code in my application ('gladefile' describes a
FileChooserDialog):

dialog = gtk.glade.XML(gladefile).get_widget('dialog')
dialog.set_default_response(int(gtk.RESPONSE_OK))
for filter in self.filters:
dialog.add_filter(filter)
dialog.set_filter(self.filters[0])
dialog.set_filename(default)


I would think that I should be able to do all of this inside glade, but as
far as I can tell, this is not possible.

Am I missing something? If not, is this a conscious decision by the
developers, or just a missing feature?
I am using glade 3.4.5.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20090401/c3b7eb71/attachment.html 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]