MCPcopy Index your code
hub / github.com/python/cpython / unbind

Method unbind

Lib/idlelib/multicall.py:352–361  ·  view source on GitHub ↗
(self, sequence, funcid=None)

Source from the content-addressed store, hash-verified

350 return widget.bind(self, sequence, func, add)
351
352 def unbind(self, sequence, funcid=None):
353 if type(sequence) is str and len(sequence) > 2 and \
354 sequence[:2] == "<<" and sequence[-2:] == ">>" and \
355 sequence in self.__eventinfo:
356 func, triplets = self.__eventinfo[sequence]
357 if func is not None:
358 for triplet in triplets:
359 self.__binders[triplet[1]].unbind(triplet, func)
360 self.__eventinfo[sequence][0] = None
361 return widget.unbind(self, sequence, funcid)
362
363 def event_add(self, virtual, *sequences):
364 #print("event_add(%s, %s)" % (repr(virtual), repr(sequences)),

Callers 14

winconfig_eventMethod · 0.45
hide_windowMethod · 0.45
_unbind_eventsMethod · 0.45
setdelegateMethod · 0.45
bind_okMethod · 0.45
closeMethod · 0.45
unbindMethod · 0.45
__del__Method · 0.45
__del__Method · 0.45
bindMethod · 0.45
event_deleteMethod · 0.45
__del__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected