Function use_tray_menu_event_handler

Source
pub fn use_tray_menu_event_handler(
    handler: impl FnMut(&MenuEvent) + 'static,
) -> WryEventHandler
Available on Windows or Linux or macOS only.
Expand description

Register an event handler that runs when a tray icon menu event is processed.