Shortcut by the initial letter OptionMenu in TKinter in Python

1

I have an OptionMenu in TKinter in Python which is a big list, when I press the letter G for example it does not direct me to the elements with the letter G and also does not allow the use of pageUp and pageDown. Is there a way to make it work like this? Or some other kind of OptionMenu in Tkinter that allows these functions? Using the mouse scroll for this would be a good alternative as well.

My OptionMenu:

ent7 = tk.OptionMenu(janela,EntradaEnergia, *energias)
    
asked by anonymous 09.01.2018 / 21:26

1 answer

1

Tkinter, although it caters well for basic needs, has very few active developers, and sometimes the best documentation is to look straight into the source code (in addition to the semi-official documentation that is in

10.01.2018 / 16:18