How to disable right click context menu or customize it in rust without change js code? #11808
Answered
by
FabianLars
crackleeeessyp
asked this question in
Q&A
|
How to disable right click context menu or customize it in rust without change js code |
Answered by
FabianLars
Nov 27, 2024
Replies: 1 comment 2 replies
|
you currently must use js to disable/overwrite the native context menu (listen to the If you only care about windows, you can also use the webview rust bindings and do https://learn.microsoft.com/en-us/microsoft-edge/webview2/how-to/context-menus?tabs=csharp#disabling-context-menus |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this is the entrypoint to use the bindings in tauri: https://docs.rs/tauri/2.0.0/tauri/webview/struct.WebviewWindow.html#method.with_webview