Open Akselrud opened 1 month ago
Do you mean you'd like cut, copy, paste enabled and right click popup menus enabled but not have their menu items on popup menus?
The following functions are for adding new commands, not removing in-built ones:
Thanks for your explanation! I thought there was an option to remove these pop-ups menus altogether. I make my menus myself successfully. But I thought I could remove the default menus...
Hello,
To disable the inbuilt popup menu you can use disable_bindings("right_click_popup_menu")
, docs here:
https://github.com/ragardner/tksheet/wiki/Version-7#enable-table-functionality-and-bindings
But it's not possible to remove inbuilt functionality that is already enabled from the popup menus if you want to keep that functionality
In other words, if you want to keep copy enabled and keep "right_click_popup_menu" enabled then you can't remove copy from the menu sorry 🫤
I may have to add more ways to modify the inbuilt menus