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

Method __getSelection

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

Source from the content-addressed store, hash-verified

400 return self.activate(callingWindow, fullContext, mainItem, selection, i)
401
402 def __getSelection(self, selection, mainItem):
403 if mainItem is not None and mainItem not in selection:
404 selection.append(mainItem)
405 return selection
406
407
408import gui.builtinContextMenus

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