2 new methods: A) Navigating through the "UP" and "DOWN" keys. B) Popout/Hide option.
Hi, I'm a 22 year old mechatronics jr., I don't know much about object oriented programming but I made a proposal to make an automated search engine in Python for my business.
Exploring, I found TKinter and then CTKinter as the best options to make a python only app.
In the end I realized that in CTk there was no native solution for the 'Dropdown List" as in Tk. I searched till exhaustion for some solution to integrate this kind of dropdown lists and the best option is the one you made, it's nice and extremely useful.
I would like to propose two methods and areas of opportunity (that I don't know how I can do them) to make these lists that you designed even easier and more intuitive to use:
1.- If the list is displayed, then you can navigate between "values" using the "UP" and 'DOWN' keys: Here I have definitely not made any progress.
2.- Add a method like 'CTkScrollableDropdown.pack_forget()" to hide the list for example if I press the "Escape" key. Or it could also be something like ".popout()": Here I have only managed to solve it by doing something like: ... def hide_ScrollableDropdown(event): if event.keysym == 'Escape': CTkScrollableDropdown.fade_out(DpDwn_Colors). CTkScrollableDropdown(DpDwn_Colors) Frame.focus_set()
root.focus_force() ... I don't know if this is correct, but at least it works.
Post data: I don't know if these options already exist as I was looking and I couldn't find anything. found nothing. In case there is a solution, could you please help me?
Post data 2: I admire you, I already follow you on your social networks, you did a super cool job and I would love someday to do things like you.