MCPcopy
hub / github.com/makelove/OpenCV-Python-Tutorial / add

Method add

官方samples/demo.py:46–51  ·  view source on GitHub ↗
(self, action)

Source from the content-addressed store, hash-verified

44 def reset(self):
45 self.links = {}
46 def add(self, action):
47 # add an action to the manager. returns tags to use in
48 # associated text widget
49 tag = "link-%d" % len(self.links)
50 self.links[tag] = action
51 return "link", tag
52
53 def _enter(self, event):
54 self.text.config(cursor="hand2")

Callers 11

10.addWeighted.pyFile · 0.45
10.bitwise_and.pyFile · 0.45
20.Apple_orange.pyFile · 0.45
train_model.pyFile · 0.45
readMethod · 0.45
readMethod · 0.45
readMethod · 0.45
add_targetMethod · 0.45
__init__Method · 0.45
add_linkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected