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

Method SetBarGradient

gui/pyfa_gauge.py:114–121  ·  view source on GitHub ↗
(self, gradient=None)

Source from the content-addressed store, hash-verified

112 return self._bar_gradient[0]
113
114 def SetBarGradient(self, gradient=None):
115 if gradient is None:
116 self._bar_gradient = None
117 else:
118 if not isinstance(gradient, list):
119 self._bar_gradient = [gradient]
120 else:
121 self._bar_gradient = list(gradient)
122
123 def GetBorderPadding(self):
124 return self._border_padding

Callers 1

populatePanelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected