Combo Boxes in CustomTkinter - Tkinter CustomTkinter 5

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 25

  • @TkinterPython
    @TkinterPython  Рік тому +1

    ▶ Watch CustomTkinter Playlist ✅ FREE Tkinter Widget Book
    bit.ly/45iO4OP bit.ly/3K4qlZC
    ▶ See More At: ✅ Subscribe To My UA-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

  • @Tomandjerry-zk8pb
    @Tomandjerry-zk8pb Місяць тому

    Your video is always helpful 😊😊😊😊

  • @sergioduque4123
    @sergioduque4123 Рік тому +1

    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 Рік тому

      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 Рік тому

    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 Рік тому

      Hm, not sure...try putting your combobox in a scrollable frame and see how it goes

    • @xvekii3236
      @xvekii3236 10 місяців тому

      Hey, did you solve your problem?

    • @mitchellmiller3843
      @mitchellmiller3843 8 днів тому

      Yes, it's possible. Huge pain in the ass to implement it correctly. At least in my case, where I was trying to do that, in addition to enhance the functionality to allow the user to search the list and have it dynamically filter out results.

  • @pajfab2591
    @pajfab2591 Місяць тому

    If I have a CTK ComboBox (for companies for sample ) on main window , then open a toplevel window to manage the companies, I add one company , then I come back to the main window
    the command of the CTK combo Box do not work as the postcommand of tkinter combobox used to work . with the old postcommand the values of the combobox were updated , with the command of CTK combobox no , I must click on the button and click an item , then close and open the dropdown list again to see the values updated ...... do you plan a solution ?

  • @pajfab2591
    @pajfab2591 Місяць тому

    I realy need the postcommand that was working with tkinter combobox to update the values when I exit a second windows , and it does not work ....

  • @sovereignlivingsoul
    @sovereignlivingsoul 10 місяців тому

    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  10 місяців тому

      what do you mean?

    • @sovereignlivingsoul
      @sovereignlivingsoul 10 місяців тому

      @@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  10 місяців тому

      Sure probably@@sovereignlivingsoul

    • @TSPxEclipse
      @TSPxEclipse 6 місяців тому

      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.

  • @TSPxEclipse
    @TSPxEclipse 6 місяців тому

    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.

  • @PazzoRagazzo029
    @PazzoRagazzo029 Рік тому

    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.

    • @NguyenMinh-hv5ej
      @NguyenMinh-hv5ej 5 місяців тому

      It's a little late but I think you can create a frame and bind the event to open it when you hover over the label/entry

  • @robvanbakkum2029
    @robvanbakkum2029 Рік тому

    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  Рік тому

      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 Рік тому

      Thanks for the quick response. pip uninstall and pip install solves the problem.

  • @bertproeme4535
    @bertproeme4535 Рік тому

    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.

  • @shubhendersingh5152
    @shubhendersingh5152 10 місяців тому

    How to make 2 interlinked comboboxes where list of options in second combobox is based on selection from first combobox

    • @TSPxEclipse
      @TSPxEclipse 6 місяців тому

      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.