MCPcopy Create free account
hub / github.com/Eve-PySpy/PySpy / _setTransparency

Method _setTransparency

gui.py:940–948  ·  view source on GitHub ↗

Sets window transparency based off slider setting and stores value in self.options.

(self, event=None)

Source from the content-addressed store, hash-verified

938 self.updateList(outlist, duration=duration)
939
940 def _setTransparency(self, event=None):
941 '''
942 Sets window transparency based off slider setting and stores
943 value in self.options.
944 '''
945 alpha = self.alpha_slider.GetValue()
946 self.SetTransparent(alpha)
947 self.options.Set("GuiAlpha", alpha)
948 self.Layout()
949
950 def updateAlert(self, latest_ver, cur_ver):
951 '''

Callers 1

__init__Method · 0.95

Calls 1

SetMethod · 0.80

Tested by

no test coverage detected