MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / LEDIndicator

Function LEDIndicator

DemoPrograms/Demo_LED_Indicators.py:18–22  ·  view source on GitHub ↗
(key=None, radius=30)

Source from the content-addressed store, hash-verified

16
17
18def LEDIndicator(key=None, radius=30):
19 return sg.Graph(canvas_size=(radius, radius),
20 graph_bottom_left=(-radius, -radius),
21 graph_top_right=(radius, radius),
22 pad=(0, 0), key=key)
23
24def SetLED(window, key, color):
25 graph = window[key]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected