Open Akselrud opened 5 months 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
Hi, I had the same question ;-) the right clic built-in menu seems to be manage for cell level and row level but sometime copy/paste/delete at cell level is ok, but not at row level because some cells have specific edition. So yes that would be nice to control row menu and activate functionality or not Thanks