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

Method reload_plugins

imagepy/ui/mainframe.py:153–158  ·  view source on GitHub ↗
(self, report=False, menus=True, tools=False, widgets=False)

Source from the content-addressed store, hash-verified

151 loader.build_document('doc')
152
153 def reload_plugins(self, report=False, menus=True, tools=False, widgets=False):
154 if menus: pluginloader.buildMenuBarByPath(self, 'menus', 'plugins', self.menubar, report)
155 if tools: toolsloader.build_tools(self, 'tools', 'plugins', self.toolbar, report)
156 if widgets: widgetsloader.build_widgets(self, 'widgets', 'plugins', self.widgets)
157 self.load_document()
158 if IPy.uimode()!='ipy': self.Fit()
159
160 def hold(self):
161 dire = 1

Callers 3

reloadplgsFunction · 0.80
add_recentFunction · 0.80
runMethod · 0.80

Calls 1

load_documentMethod · 0.95

Tested by

no test coverage detected