Skip to content

Implementation of a slider widget using tkinter, multiple slider supported

License

Notifications You must be signed in to change notification settings

MenxLi/tkSliderWidget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tkSliderWidget

Implementation of a slider widget using tkinter, multiple slider supported

for an example see: main.py

Slider

	
import tkinter as tk
from tkSliderWidget import Slider

root = tk.Tk()

slider = Slider(root, width = 400, height = 60, min_val = -100, max_val = 100, init_lis = [-50,0,75], show_value = True)
slider.pack()

# optionally add a callback on value change
slider.setValueChangeCallback(lambda vals: print(vals))

root.title("Slider Widget")
root.mainloop()

print(slider.getValues())

About

Implementation of a slider widget using tkinter, multiple slider supported

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages