MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / _baseGetText

Method _baseGetText

gui/contextMenu.py:213–221  ·  view source on GitHub ↗

getText should be implemented in child classes, and should return either a string that will make up a menu item label or a list of strings which will make numerous menu items. These menu items will be added to the root menu

(self, callingWindow, context, mainItem, selection)

Source from the content-addressed store, hash-verified

211
212 @abstractmethod
213 def _baseGetText(self, callingWindow, context, mainItem, selection):
214 """
215 getText should be implemented in child classes, and should return either
216 a string that will make up a menu item label or a list of strings which
217 will make numerous menu items.
218
219 These menu items will be added to the root menu
220 """
221 raise NotImplementedError
222
223 @abstractmethod
224 def _baseGetSubMenu(self, callingWindow, context, mainItem, selection, rootMenu, i, pitem):

Callers 1

getMenuMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected