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

Method AddButton

gui/builtinShipBrowser/sfBrowserItem.py:100–103  ·  view source on GitHub ↗
(self, btnBitmap, label="", clickCallback=None, hoverBitmap=None, disabledBitmap=None, show=True)

Source from the content-addressed store, hash-verified

98 self.toolbarX, self.toolbarY = pos
99
100 def AddButton(self, btnBitmap, label="", clickCallback=None, hoverBitmap=None, disabledBitmap=None, show=True):
101 btn = PFBaseButton(btnBitmap, label, clickCallback, hoverBitmap, disabledBitmap, show)
102 self.buttons.append(btn)
103 return btn
104
105 def ClearState(self):
106 for button in self.buttons:

Callers 3

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 2

PFBaseButtonClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected