Sliders With TKinter - Python Tkinter GUI Tutorial #16

preview_player
Показать описание
How to use Sliders with TKinter and Python. In this video I'll show you how to use sliders with tkinter. In this series I'll show you how to create graphical user interfaces for Python with Tkinter.

✅ Watch The Other Videos In This Python Playlist:

▶️ See More At:

✅ Join My Facebook Group:

✅ Subscribe To My YouTube Channel:

Take $22 off with coupon code: youtube
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:

Codemycom
Автор

The best Tkinter tutorials out there, Great Job ! :D

sunchitlakhanpal
Автор

10:00
You can fix this problem easily by binding your function to take place after you release the mouse, place the code before you call .pack()
horizontal.bind("<ButtonRelease-1>", lambda var=event: slide(var))

TheRevan
Автор

I put together a simulation in tkinter. Your GUI tutorials have been extremely useful. Thanks!

walternyc
Автор

You need a "_" and the end of the " from_" parameter because the is a buildin keyword from in python like "from tkinter import *"

MonkeyDLuffy-ldiy
Автор

These are great. My first time with GUI. Thank you for making them. horizontal.pack(anchor=W) will solve your slider issue. It's centered, so as your moving it, it's recentering. If it stays to the left its fine.

jscherer
Автор

Smashing through this playlist. Great stuff. Looking forward to the database vids.

ninjatribble
Автор

9:58 the reason for resizing weirdness is that there is keydown and keyup difference. You need to use a key up(key release). So, delete command area in horizontal and add another line under it horizontal.bind("<ButtonRelease-1>", get_value)

Abdulkadir-vbvj
Автор

It's amazing sir learning bunch of cool stuff during quarantine

AyanKhan-dceu
Автор

Concepts are beautifully explained. This is good stuff... Great job man !!

mm-et
Автор

Excellent series! I'm building a GUI for a RPi security camera with stepper motors controlling X/Y position, zoom, focus, and aperture. Your previous tutorials showed me how to input x and y values into text boxes, then use a button to send those +/- step values to the steppers. Great!
Now, I'm ready to add some x/y preset buttons with 10 stored values, pulled from a csv file. Awesome!
These sliders should allow me to also control the zoom, focus and aperture steppers. Almost home!
Q: Is there a way to display the camera's live image as a background, with a hot spot to show/hide the GUI controls? That would be the cherry on the cake.🥳
Thanks for posting tutorials that make these things happen.🙏

TheOleHermit
Автор

Your tutorials are very helpful! I was just wondering how you can adjust the length of the slider.

aidangurevich
Автор

At 2:00, 'from_' is used because 'from' is a keyword in Python, it's like to differentiate between keyword and the slider variable.

devjeetmandal
Автор

suggestion:
using grid with horizontal and vertical will actually remove the lag thing..

darshanbothra
Автор

1:56 because it's a python keyword. That's very essential for a course on a language and something you could've and should've corrected since april '19

€: I commented before reading the other comments. After reading the reaction Devjeet Mandal I felt even more, that this should be said.

Blubberland
Автор

We have to add an underscore after from i.e. from_ because from is a pre-defined function

keerthivaasannandakumar
Автор

FYI : The command inside the Scale will pass the scale value. Which means you could use this in your code for example :

def slide(n):
root.geometry(str(n)+'x400')

furrane
Автор

thank you, i am 12 years old and i like your videos

liyudanfikirdan
Автор

1:58 cuz there is something in python called from and if u use from except of from_ python wont get witch one do u mean

react_meme
Автор

is possible to change the way slider looks? other than just changing the color or size?

kocorech