sitting on a Raspberry Pi with a touchscreen that's going to waste because you don't have the time to learn a GUI SDK?.looking to take your Python code from the world of command lines and into the convenience of a GUI?.close () Makes This WindowĪnd returns the value input as well as the button clicked. WIN_CLOSED or event = 'Cancel' : # if user closes window or clicks cancel break print ( 'You entered ', values ) window. Window ( 'Window Title', layout ) # Event Loop to process "events" and get the "values" of the inputs while True : event, values = window. layout =, , ] # Create the Window window = sg. theme ( 'DarkAmber' ) # Add a touch of color # All the stuff inside your window. Jump-Start Install pip install pysimplegui Read/Search this prior to opening an Issue on GitHub. PySimpleGUI User's Manual Python GUI For Humans - Transforms tkinter, Qt, Remi, WxPython into portable people-friendly Pythonic interfaces The Call Reference Section Moved to here This manual is crammed full of answers so start your search for answers here.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |