MCPcopy
hub / github.com/PySimpleGUI/PySimpleGUI / BtnInfo

Class BtnInfo

DemoPrograms/Demo_Button_Toggle2.py:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37# Class holding the button graphic info. At this time only the state is kept
38class BtnInfo:
39 def __init__(self, state=True):
40 self.state = state # Can have 3 states - True, False, None (disabled)
41
42# Main function that creates the layout, window and has event loop
43def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected