| 261 | self.lbl.set_text('Hello ' + value) |
| 262 | |
| 263 | def open_fileselection_dialog(self, widget): |
| 264 | self.fileselectionDialog = gui.FileSelectionDialog('File Selection Dialog', 'Select files and folders', False, |
| 265 | '.') |
| 266 | self.fileselectionDialog.confirm_value.do( |
| 267 | self.on_fileselection_dialog_confirm) |
| 268 | |
| 269 | # here is returned the Input Dialog widget, and it will be shown |
| 270 | self.fileselectionDialog.show(self) |
| 271 | |
| 272 | def on_fileselection_dialog_confirm(self, widget, filelist): |
| 273 | # a list() of filenames and folders is returned |