ttkbootstrap
ttkbootstrap copied to clipboard
ttk.Menu: Windows vs Linux
In ttk.Menu see the image comparison of the menus and submenus in Windows and in Linux/Ubuntu/Variations(Linux Mint).
In Linux the arrow image has a raised aspect that changes to sunken when you hover over it. It doesn't have a modern look.
--
In windows, the arrow has a more modern look.
Would it be possible to improve this look in Linux, with a flat arrow: black that changes to white, the same as in Windows?
Unfortunately, this is determined by the Window manager. There is no way to change it that I know of except to write a new menu class with custom images.
Here is one I worked on a while ago that basically rebuilt the menu from scratch... but it's pretty tricky and I'm not completely happy with the performance. I may revisit it given that I know more about the process now. But that will be down the road. The example below runs on a Linux virtual machine via replit.it
I've got another idea in the works for another kind of menu widget that is designed with pages instead of cascades... kind of like what you'd see on a mobile app. This would be much easier to implement and would look pretty nice as well.
I've got another idea in the works for another kind of menu widget that is designed with pages instead of cascades... kind of like what you'd see on a mobile app. This would be much easier to implement and would look pretty nice as well.
Good news, always choose the easiest option to maintain