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

Method disconnect

editor/editor_widgets.py:243–246  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

241 self.dropdownMethods.append(l)
242
243 def disconnect(self):
244 # the listener is canceled when the user selects None
245 getattr(self.refWidget, self.eventConnectionFuncName).do(None)
246 #getattr(self.refWidget, self.eventConnectionFuncName).editor_listener_callback = None
247
248 def on_connection(self, widget, dropDownValue):
249 if self.dropdownMethods.get_value() == 'None':

Callers 3

__init__Method · 0.95
on_listener_selectionMethod · 0.95
on_connectionMethod · 0.95

Calls 1

doMethod · 0.45

Tested by

no test coverage detected