MCPcopy Create free account
hub / github.com/Image-Py/imagepy / set

Method set

imagepy/core/manager/pluginmanager.py:13–16  ·  view source on GitHub ↗
(cls, tool)

Source from the content-addressed store, hash-verified

11
12 @classmethod
13 def set(cls, tool):
14 if tool.__class__ == cls.curtool.__class__:return
15 if cls.curtool!=None: cls.curtool.switch()
16 cls.curtool = tool
17
18 @classmethod
19 def add(cls, tol):cls.tools[tol.title] = tol

Callers 11

getpathFunction · 0.45
startMethod · 0.45
add_recentFunction · 0.45
set_colorMethod · 0.45
set_lwMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
on_runMethod · 0.45

Calls 1

switchMethod · 0.80

Tested by

no test coverage detected