pub fn use_muda_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 muda event is processed.
pub fn use_muda_event_handler(
handler: impl FnMut(&MenuEvent) + 'static,
) -> WryEventHandler
Register an event handler that runs when a muda event is processed.