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

Method open_input_dialog

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

Source from the content-addressed store, hash-verified

248 self.lbl.set_text('CheckBox changed, new value: ' + str(newValue))
249
250 def open_input_dialog(self, widget):
251 self.inputDialog = gui.InputDialog('Input Dialog', 'Your name?',
252 initial_value='type here',
253 width=500)
254 self.inputDialog.confirm_value.do(
255 self.on_input_dialog_confirm)
256
257 # here is returned the Input Dialog widget, and it will be shown
258 self.inputDialog.show(self)
259
260 def on_input_dialog_confirm(self, widget, value):
261 self.lbl.set_text('Hello ' + value)

Callers

nothing calls this directly

Calls 2

doMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected