-
Eg: # copy
Command+c
# paste
Command+v |
Beta Was this translation helpful? Give feedback.
Answered by
percy507
Mar 18, 2022
Replies: 1 comment 2 replies
-
After some research, I find the answer.
If you want to add some basic shortcuts(eg: copy, paste, cut), you need add a menu for your app.
let my_app_menu = Menu::new()
.add_native_item(MenuItem::Copy)
.add_native_item(MenuItem::Cut)
.add_native_item(MenuItem::Paste); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
FabianLars
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After some research, I find the answer.
If you want to add some basic shortcuts(eg: copy, paste, cut), you need add a menu for your app.