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

Method onchange

remi/gui.py:2841–2847  ·  view source on GitHub ↗

Called when a new DropDownItem gets selected.

(self, value)

Source from the content-addressed store, hash-verified

2839 @decorate_set_on_listener("(self,emitter,new_value)")
2840 @decorate_event
2841 def onchange(self, value):
2842 """Called when a new DropDownItem gets selected.
2843 """
2844 self.disable_update()
2845 self.select_by_value(value)
2846 self.enable_update()
2847 return (value, )
2848
2849
2850class DropDownItem(Widget, _MixinTextualWidget):

Callers

nothing calls this directly

Calls 3

select_by_valueMethod · 0.95
disable_updateMethod · 0.80
enable_updateMethod · 0.80

Tested by

no test coverage detected