Re: Navigation in menu with multiple columns
Michael Lange <[email protected]> Thu, 14 Sep 2023 09:45:36 +0200
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
Hi Vasilis, On Wed, 13 Sep 2023 15:57:10 +0000 Vasilis Vlachoudis <[email protected]> wrote: > In my application I am dynamically creating cascading menus, where some > of them have multiple entries. To imrpove the visualization I break > them into multiple columns using the "columnbreak=1" attribute in the > Menu.add_command() > > The Up/Down keys move correctly the active/highlighted entry up/down > > However the Left key closes always the cascade submenu, while I would > prefer to highlight the entry on the left column, and when it is on the > left-most column to close the cascade submenu Is there a way to bind > the Left/Right keys to move left/right in the columns? > > Vasilis could you please post a simple example that shows this behaviour? Have a nice day, Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. Peace was the way. -- Kirk, "The City on the Edge of Forever", stardate unknown