MCPcopy Index your code
hub / github.com/rawpython/remi / open_fileselection_dialog

Method open_fileselection_dialog

examples/widgets_overview_app.py:263–270  ·  view source on GitHub ↗
(self, widget)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

doMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected