Type of Issue (Enhancement, Error, Bug, Question)
Bug/ Question
Operating System
Windows 10
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Version information can be obtained by calling sg.main_get_debug_data()
Or you can print each version shown in ()
Python version (sg.sys.version)
3.8.3
PySimpleGUI Version (sg.__version__)
4.39.1
GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)
8.6.9
Your Experience In Months or Years (optional)
Years Python programming experience
5 months
Years Programming experience overall
1 year
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
no
Anything else you think would be helpful?
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Detailed Description
I tried using the update method on the slider, but it doesnt do anything. I'm trying to make a seek bar to use with python-vlc.
Update:
The update method seems to work, but it's effects seem to appear only after an event occurs.
I added a button to my code below to demonstrate this.
Code To Duplicate
A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)
This pre-formatted code block is all set for you to paste in your bit of code:
# Paste your code here
import PySimpleGUI as sg
layout = [[sg.Slider(range=(1, 100), orientation='h', size=(20, 20), default_value=1, disable_number_display = True, key = "slider"), sg.Button("click me")]]
window = sg.Window("Window", layout)
while True:
window.read()
window['slider'].update(value = 10)
Screenshot, Sketch, or Drawing
Type of Issue (Enhancement, Error, Bug, Question)
Bug/ Question
Operating System
Windows 10
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Version information can be obtained by calling
sg.main_get_debug_data()Or you can print each version shown in ()
Python version (
sg.sys.version)3.8.3
PySimpleGUI Version (
sg.__version__)4.39.1
GUI Version (tkinter (
sg.tclversion_detailed), PySide2, WxPython, Remi)8.6.9
Your Experience In Months or Years (optional)
Years Python programming experience
5 months
Years Programming experience overall
1 year
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
no
Anything else you think would be helpful?
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Detailed Description
I tried using the update method on the slider, but it doesnt do anything. I'm trying to make a seek bar to use with python-vlc.
Update:
The update method seems to work, but it's effects seem to appear only after an event occurs.
I added a button to my code below to demonstrate this.
Code To Duplicate
A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)
This pre-formatted code block is all set for you to paste in your bit of code:
Screenshot, Sketch, or Drawing