Renamed to new PySimpleGUIQt name.... this time for sure

This commit is contained in:
MikeTheWatchGuy 2018-11-08 15:13:53 -05:00
parent d1a1a41f32
commit 645482b3c6
8 changed files with 90 additions and 82 deletions

17
PySimpleGUIQt/Qt_Dial.py Normal file
View file

@ -0,0 +1,17 @@
import PySimpleGUIQt as sg
layout = [
[sg.Text('This is the new Dial Element!')],
[sg.Dial(range=(1,100), key='_DIAL_')],
[sg.Button('Show'), sg.Button('Exit')]
]
window = sg.Window('Window Title').Layout(layout)
while True: # Event Loop
event, values = window.Read()
print(event, values)
if event is None or event == 'Exit':
break
window.Close()