We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc27d76 commit df3f1c4Copy full SHA for df3f1c4
examples/menu_bar.rs
@@ -86,6 +86,7 @@ fn main() -> wry::Result<()> {
86
Event::MenuEvent {
87
menu_id,
88
origin: MenuType::MenuBar,
89
+ ..
90
} => {
91
// The custom menu expose an `id()` function to match with `menu_id` from the Event
92
if menu_id == print_item.clone().id() {
examples/system_tray.rs
@@ -186,6 +186,7 @@ fn main() -> wry::Result<()> {
186
187
// specify only context menu's
188
origin: MenuType::ContextMenu,
189
190
191
// Click on Open new window or focus item
192
if menu_id == open_new_window.clone().id() {
0 commit comments