Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

pg double slider

import PySimpleGUI as sg

layout = [
    [sg.Frame('Work Hours', [[sg.Slider(range=(0, 12), orientation='h', key='-START-'), sg.Slider(range=(12, 24), orientation='h', key='-END-')]])],
]

window = sg.Window(title="Zatrudnienie", layout=layout)

while True:
    event, values = window.read(timeout=50)

    if event == sg.WIN_CLOSED:
        break
    print(values)

window.close()
Comment

PREVIOUS NEXT
Code Example
Python :: timestamp to date python 
Python :: dislike_count 
Python :: python half of string 
Python :: pygame draw line 
Python :: install python 3.9 linux 
Python :: how to open an external file in python 
Python :: how to install python3 in ubuntu 
Python :: python perfect square 
Python :: import sklearn linear regression 
Python :: how to get frequency of each elements in a python list 
Python :: user agents list 
Python :: How to print list without for loop python 
Python :: exception get line number python 
Python :: python tk fullscreen 
Python :: pandas read_csv drop last column 
Python :: python split path at level 
Python :: python copy file 
Python :: getting dummies and input them to pandas dataframe 
Python :: prettytable python 
Python :: beautifulsoup find by class 
Python :: save numpy array to csv 
Python :: discord.py commands not working 
Python :: matplotlib insert text 
Python :: numpy from csv 
Python :: python radians to degrees 
Python :: python matplotlib plot thickness 
Python :: how to remove coma in python 
Python :: python check ram usage 
Python :: python time a funciton 
Python :: ddos in python 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =