pub fn handle_action<F>(id: u32, func: F) where
    F: FnOnce(&ActionResponse<'_>), 
Expand description

Listens for the ActionInvoked(UInt32, String) Signal.

No need to use this, check out NotificationHandle::wait_for_action (xdg only)