Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using the filechooser dialog with glade
- filename = None
- response = self.widget('filechooserdialog').run()
- print response
- #if response == Gtk.RESPONSE_OK:
- filename = self.widget('filechooserdialog').get_filename()
- self.widget('filechooserdialog').hide()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement