Re: [Tkinter-discuss] Navigation in menu with multiple columns

2023-09-25 Thread Vasilis Vlachoudis
Great! Many thanks Michael! From: Michael Lange Sent: Saturday 23 September 2023 19:08 To: Vasilis Vlachoudis Cc: tkinter-discuss@python.org Subject: Re: [Tkinter-discuss] Navigation in menu with multiple columns Hi, On Tue, 19 Sep 2023 09:34:34 + Vasilis

Re: [Tkinter-discuss] Navigation in menu with multiple columns

2023-09-23 Thread Michael Lange
Hi, On Tue, 19 Sep 2023 09:34:34 + Vasilis Vlachoudis wrote: > Using column breaks and sub-menus, makes navigation with the mouse > almost impossible. e.g. with the code below > > * open the menu > * hover the mouse over "one" > * hover the mouse over "Item #40" > *to selec

Re: [Tkinter-discuss] Navigation in menu with multiple columns

2023-09-19 Thread Vasilis Vlachoudis
estroy())   root.mainloop() ________ From: Vasilis Vlachoudis Sent: Monday 18 September 2023 09:42 To: Michael Lange Cc: tkinter-discuss@python.org Subject: Re: [Tkinter-discuss] Navigation in menu with multiple columns Great, many thanks Michael! _______

Re: [Tkinter-discuss] Navigation in menu with multiple columns

2023-09-18 Thread Vasilis Vlachoudis
Great, many thanks Michael! From: Michael Lange Sent: Sunday 17 September 2023 02:14 To: Vasilis Vlachoudis Cc: tkinter-discuss@python.org Subject: Re: [Tkinter-discuss] Navigation in menu with multiple columns Hi Vasilis, On Fri, 15 Sep 2023 09:55:49 +

Re: [Tkinter-discuss] Navigation in menu with multiple columns

2023-09-16 Thread Michael Lange
Hi Vasilis, On Fri, 15 Sep 2023 09:55:49 + Vasilis Vlachoudis wrote: > Hi Michael, > > here is a snipped of a code and what I've managed up to now thanks, I get your point now :-) I toyed around with your example a bit and came up with a custom menu class (see below; for testing I added a

Re: [Tkinter-discuss] Navigation in menu with multiple columns

2023-09-15 Thread Vasilis Vlachoudis
click to show menu withLeft/Right binding").pack()   tk.Label(root, text=" to exit").pack()   root.bind("<1>", lambda e: show_menu(e,False))   root.bind("<3>", lambda e: show_menu(e,True))       root.bind("", lambda e: root.dest

Re: [Tkinter-discuss] Navigation in menu with multiple columns

2023-09-14 Thread Michael Lange
Hi Vasilis, On Wed, 13 Sep 2023 15:57:10 + Vasilis Vlachoudis 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.

[Tkinter-discuss] Navigation in menu with multiple columns

2023-09-13 Thread Vasilis Vlachoudis
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/dow