MCPcopy Index your code
hub / github.com/dothinking/PyAddin / update

Method update

pyaddin/addin.py:109–115  ·  view source on GitHub ↗

Update Ribbon UI. Note that the menu callback functions should be updated manually.

(self)

Source from the content-addressed store, hash-verified

107
108
109 def update(self):
110 '''Update Ribbon UI. Note that the menu callback functions should be updated manually.'''
111 # update addin with customized ui file
112 logging.info('(1/1) Updating ribbon structures...')
113 custom_ui = os.path.join(self.path, CUSTOM_UI)
114 ui = UI(self.xlam_file)
115 ui.update(custom_ui)

Callers 1

updateMethod · 0.95

Calls 2

updateMethod · 0.95
UIClass · 0.85

Tested by

no test coverage detected