DJ Console using Vertical Sliders in TKinter and Python - Python Tutorial (2020) #11

Veröffentlicht am: 12 Juni 2020
auf dem Kanal: Anshuman Biswal
1,508
25

Video to understand Sliders in TKinter :-
   • Creating Horizontal and Vertical Sliders i...  

A slider is a Tkinter object with which a user can set a value by moving an indicator. Sliders can be vertically or horizontally arranged. A slider is created with the Scale method().

Using the Scale widget creates a graphical object, which allows the user to select a numerical value by moving a knob along a scale of a range of values. The minimum and maximum values can be set as parameters, as well as the resolution. We can also determine if we want the slider vertically or horizontally positioned. A Scale widget is a good alternative to an Entry widget, if the user is supposed to put in a number from a finite range, i.e. a bounded numerical value.

from Tkinter import *

master = Tk()
w = Scale(master, from_=0, to=42)
w.pack()
w = Scale(master, from_=0, to=200, orient=HORIZONTAL)
w.pack()

mainloop()

#python2020 #tkintergui #madaboutpython #tkintertutorial #tkinterprojects #tkinterinpython #tkinterguitutorial


Auf dieser Seite können Sie das Online-Video DJ Console using Vertical Sliders in TKinter and Python - Python Tutorial (2020) #11 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Anshuman Biswal 12 Juni 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,508 Mal angesehen und es wurde von 25 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!