ComboBoxes and Bindings - Tkinter TTKBootstrap 5
ฝัง
- เผยแพร่เมื่อ 1 ส.ค. 2024
- In this video I'll show you how to use Combo Boxes with TTKBootstrap, Tkinter, and Python.
I'll show you how to use Comboboxes with TTKBootstrap using both a button, and binding.
We'll create a combo box of days of the week, and when a day is selected, we'll update the text in a label to reflect that.
#tkinter #codemy #JohnElder
Timecodes
0:00 - Introduction
2:22 - Create A Label
2:51 - Create Combobox Options
3:26 - Create A TTKBootstrap Combobox
4:25 - Set Combobox Default Item
5:07 - Create A Button
5:50 - Create A Function To Update Label
6:33 - Bind The ComboBox
7:44 - Create Binding Function
8:53 - Conclusion
▶ Watch TTKBootstrap Playlist ✅ FREE Tkinter Widget Book
bit.ly/3hphbwA bit.ly/3K4qlZC
▶ See More At: ✅ Subscribe To My TH-cam Channel:
Tkinter.com bit.ly/3Pk1By4
▶ MASSIVE TKINTER.COM DISCOUNT ✅ Join My Facebook Group:
30% off with coupon code: youtube bit.ly/2GFmOBz
▶ Get The Code For This Video
bit.ly/3dCzz2K
I WANT USE 2 COPOUNS how can i make this
pls
im a kid and i dont have money and i want to join pls make i can put 2 copuns pls
@@IA7MDYT Sorry, that's not possible.
John, Thanks for all your videos...they are super practical.
I think you have reached the sweet spot between length and info showed so you are reachable to newcomers. Kudos.
I was following all your tutorials and I really enjoyed the SQLite for Py one... A SHAME I am only the 2nd like and 1st commenter...:)
Thanks! Not really a shame, the video has only been online for a few minutes :-p I just uploaded it...
I liked your hardwork and one thing i like your style man it's crazy 😅 starting intro and your teaching style it's crazy bro 😅👍❤️
Ha, glad you're enjoying it!
Thank you!!!!
Welcome!
Thanks for all of your videos, it's great for Python and Tkinter.
Did you try "Sun-Valley-ttk-theme" theme and if not can you try it?
I'm not familiar with it...
Thank You~~As Always~~
Always welcome
I am having trouble with this line giving an error: label_1.config(text = "Bill"). It says the object doesn't have config.
What did you do differently from the video? I doubt it says that, because they all have config. Did you define the widget and pack it on the same line? You can't do that.