(self, widget)
| 110 | return self.mainContainer |
| 111 | |
| 112 | def menu_open_clicked(self, widget): |
| 113 | self.fileselectionDialog = gui.FileSelectionDialog('File Selection Dialog', 'Select an image file', False, '.') |
| 114 | self.fileselectionDialog.confirm_value.do( |
| 115 | self.on_image_file_selected) |
| 116 | self.fileselectionDialog.cancel_dialog.do( |
| 117 | self.on_dialog_cancel) |
| 118 | # here is shown the dialog as root widget |
| 119 | self.fileselectionDialog.show(self) |
| 120 | |
| 121 | def menu_save_clicked(self, widget): |
| 122 | pass |