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

Method GetWidth

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

Source from the content-addressed store, hash-verified

176 return None
177
178 def GetWidth(self):
179 bx = 0
180 for button in self.buttons:
181 if not button.IsVisible():
182 continue
183
184 bwidth, bheight = button.GetSize()
185 bx += bwidth + self.padding
186
187 return bx
188
189 def GetHeight(self):
190 height = 0

Callers 15

GetButtonsSizeMethod · 0.45
UpdateElementsPosMethod · 0.45
UpdateElementsPosMethod · 0.45
__init__Method · 0.45
UpdateElementsPosMethod · 0.45
RenderBackgroundMethod · 0.45
GetSizeMethod · 0.45
RenderMethod · 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