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

Method GetHeight

gui/builtinShipBrowser/sfBrowserItem.py:189–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187 return bx
188
189 def GetHeight(self):
190 height = 0
191 for button in self.buttons:
192 if not button.IsVisible():
193 continue
194
195 bwidth, bheight = button.GetSize()
196 height = max(height, bheight)
197
198 return height
199
200 @staticmethod
201 def HitTest(target, position, area):

Callers 14

DrawGradientBarFunction · 0.45
GetButtonsSizeMethod · 0.45
UpdateElementsPosMethod · 0.45
UpdateElementsPosMethod · 0.45
__init__Method · 0.45
UpdateElementsPosMethod · 0.45
RenderBackgroundMethod · 0.45
GetSizeMethod · 0.45
RenderBackgroundMethod · 0.45
CalcButtonsBarPosMethod · 0.45
HitTestMethod · 0.45
OnPaintMethod · 0.45

Calls 2

IsVisibleMethod · 0.80
GetSizeMethod · 0.45

Tested by

no test coverage detected