Python GUI Tutorial - 39 - Spinbox | TKinter

Veröffentlicht am: 09 August 2018
auf dem Kanal: Indrajeet Singh
5,472
56

In this video, you'll learn how we can add spinbox into our Tkinter Application.
Spinbox box is nothing just a Textbox containing an up and down arrows so we can increase or decrease the number inside the text box.

so here is the code used in this video-


from tkinter import *
def click_me():
print(spin1.get())


root = Tk()
spin1 = Spinbox(root, from_=1, to=5)
spin1.pack()

button =Button(root, text="prnt", command=click_me)
button.pack()
root.geometry("300x300")
root.mainloop()

-------------------------------------------------------------------------

if you have any problem related with this video "how to add spinbox in tkinter" then please comment in commentbox.


Auf dieser Seite können Sie das Online-Video Python GUI Tutorial - 39 - Spinbox | TKinter mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Indrajeet Singh 09 August 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,472 Mal angesehen und es wurde von 56 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!