Combo Boxes in CustomTkinter - Tkinter CustomTkinter 5

  Рет қаралды 12,817

Tkinter․com

Tkinter․com

Күн бұрын

In this video we'll look at Combo Boxes for Custom Tkinter and Python.
ComboBoxes, or DropDown boxes are super useful in GUI design.
In this video we'll look at how to use them, as well as all the configuration options for them with CustomTkinter!
#tkinter #codemy #JohnElder
Timecodes
0:00​​ - Introduction
1:32 - Create Label
2:03 - Create ComboBox
4:00 - Make ComboBox Clickable With Command
5:02 - Create Second Label For Output
6:26 - Change Color of Label
6:49 - Use Button With ComboBox
9:30 - Programatically Set Item in ComboBox
12:00 - Change Height/Width of ComboBox
12:39 - Change Text Font Size
13:03 - Change DropDown Text Font Size
13:30 - Change CornerRadius of ComboBox
14:21 - Change BorderWidth
15:03 - Change Border Color
15:23 - Change Button Color
15:44 - Change Button Hover Color
16:08 - Change DropDown Hover Color
16:38 - Change Dropdown Background Color
17:05 - Change Dropdown Text Color
17:27 - Change Text Color
18:03 - Turn Hover Off
18:38 - Change Text Justification
19:31 - Change State
20:11 - Conclusion

Пікірлер: 20
@TkinterPython
@TkinterPython 10 ай бұрын
▶ Watch CustomTkinter Playlist ✅ FREE Tkinter Widget Book bit.ly/45iO4OP bit.ly/3K4qlZC ▶ See More At: ✅ Subscribe To My KZbin 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
@PazzoRagazzo029
@PazzoRagazzo029 9 ай бұрын
Hello Mister. In Customtkinter is there any chance I can show a help text box when I hover over a label or entry? I'm referring to those little white boxes that show information.
@bertproeme4535
@bertproeme4535 9 ай бұрын
How to create shapes e.g. Arrows and act on it (called event in C++ Builder) when touched. I use a RSPi and Python and like to control an output pin with touching the arrow.
@TSPxEclipse
@TSPxEclipse 5 күн бұрын
One super annoying thing about the CTkComboBox widget is that if the list of values is pretty big, instead of popping open a small dropdown with a scroll bar it just fills the entire height of your screen and puts arrow buttons at the top and bottom. Extremely inconvenient for what I need it for, and I'm not sure if there's a way to change it to being able to use the scroll wheel. That's why I came here, to see if that was an option. Also, I'm not sure what I'm doing wrong but I can't programmatically change what the combo box is set to the same way shown because using the set method raises an AttributeError.
@sergioduque4123
@sergioduque4123 6 ай бұрын
Hello! thank you for doing this set of tutorials it's been a great help! I'm getting an error with the comboBox tho, (object has no attribute "configure") do you have any idea of what that could be? cheers and again thanks for the work!
@sergioduque4123
@sergioduque4123 6 ай бұрын
My mistake! I was doing my_combo = customtkinter.CTkComboBox().place() and my variable was getting the place atts as well, giving the error
@hendrikd5544
@hendrikd5544 6 ай бұрын
Hello! Thanks for all these great videos, they help me a lot! I just wanted to ask, if it's possbile to have a scrollable box of the displayed options in the combobox. In my use case there are way too many options and therefore they fill the whole screen. Thanks in advance!
@Codemycom
@Codemycom 6 ай бұрын
Hm, not sure...try putting your combobox in a scrollable frame and see how it goes
@xvekii3236
@xvekii3236 4 ай бұрын
Hey, did you solve your problem?
@sovereignlivingsoul
@sovereignlivingsoul 4 ай бұрын
if you were to disable the button, how would you suppress the error output, thanks for the Tkinter book, looking forward to a long read
@TkinterPython
@TkinterPython 4 ай бұрын
what do you mean?
@sovereignlivingsoul
@sovereignlivingsoul 3 ай бұрын
@@TkinterPython at 20:59, you disable the input button and then you pressed the pick yellow button and the error output went to the screen, if you wanted to disable the button, could you redirect the error output
@TkinterPython
@TkinterPython 3 ай бұрын
Sure probably@@sovereignlivingsoul
@TSPxEclipse
@TSPxEclipse 5 күн бұрын
Put it in a try-except block. Just be sure that you specify the exact errors you want to bypass in the except clause or else you could be ignoring errors that completely break the program.
@shubhendersingh5152
@shubhendersingh5152 4 ай бұрын
How to make 2 interlinked comboboxes where list of options in second combobox is based on selection from first combobox
@TSPxEclipse
@TSPxEclipse 5 күн бұрын
Get the string for the selected option and pass it into a function that picks the list of values to be used for the next combo box in the sequence. That's how I'd do it, anyway.
@robvanbakkum2029
@robvanbakkum2029 6 ай бұрын
Great tutorials. Everything has been going well with Ctk so far... but I'm really stuck with the combo box... Is this just me or Mr. Schimansky? Please try before you answer.
@TkinterPython
@TkinterPython 6 ай бұрын
Well I have no idea what problem you're having, so I couldn't possibly say...except to say I've had no problems with it, as evidenced in this video.
@robvanbakkum2029
@robvanbakkum2029 6 ай бұрын
Thanks for the quick response. pip uninstall and pip install solves the problem.
Progress Bars in CustomTkinter - Tkinter CustomTkinter 6
18:56
Tkinter․com
Рет қаралды 11 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 20 М.
КАРМАНЧИК 2 СЕЗОН 7 СЕРИЯ ФИНАЛ
21:37
Inter Production
Рет қаралды 530 М.
I use Drag and Drop to build modern Python Apps
14:08
Softlinks
Рет қаралды 52 М.
Combo Boxes - Intro To Tkinter 8
12:00
Tkinter․com
Рет қаралды 525
Make Tkinter Look 10x Better in 5 Minutes (CustomTkinter)
4:40
TurbineThree
Рет қаралды 247 М.
Use a Drag & Drop Editor to Make Tkinter Python GUI Applications!
11:16
Radio Buttons in CustomTkinter - Tkinter CustomTkinter 7
18:10
Tkinter․com
Рет қаралды 6 М.
Open Files Dialog Box - Python Tkinter GUI Tutorial #15
12:34
Codemy.com
Рет қаралды 189 М.