MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __getSelection

Method __getSelection

gui/contextMenu.py:353–356  ·  view source on GitHub ↗
(self, selection, mainItem)

Source from the content-addressed store, hash-verified

351 return self.activate(callingWindow, fullContext, selection, i)
352
353 def __getSelection(self, selection, mainItem):
354 if mainItem is not None and mainItem not in selection:
355 selection.append(mainItem)
356 return selection
357
358
359class ContextMenuCombined(ContextMenu, metaclass=ABCMeta):

Callers 5

_baseDisplayMethod · 0.95
_baseGetBitmapMethod · 0.95
_baseGetTextMethod · 0.95
_baseGetSubMenuMethod · 0.95
_baseActivateMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected