Skip to content
Discussion options

You must be logged in to vote

This is only possible in v2. The v1 menu api is too limited and afaik can't be changed to make it possible either.

In v2 you can get the current Menu via window.menu() and then you'll have access to all those apis here https://docs.rs/tauri/2.0.0-beta.2/tauri/menu/struct.Menu.html, including an insert() function.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ilyagr
Comment options

@FabianLars
Comment options

Answer selected by ilyagr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants