[][src]Trait wayland_raw_protocol_bindings::client::keyboard_shortcuts_inhibit_unstable_v1::zwp_keyboard_shortcuts_inhibitor_v1::zwp_keyboard_shortcuts_inhibitor_v1_listener

pub trait zwp_keyboard_shortcuts_inhibitor_v1_listener {
    fn active(&mut self, object: *mut zwp_keyboard_shortcuts_inhibitor_v1) { ... }
fn inactive(&mut self, object: *mut zwp_keyboard_shortcuts_inhibitor_v1) { ... } }

An interface for handling events.

Provided methods

fn active(&mut self, object: *mut zwp_keyboard_shortcuts_inhibitor_v1)

shortcuts are inhibited

This event indicates that the shortcut inhibitor is active.

The compositor sends this event every time compositor shortcuts are inhibited on behalf of the surface. When active, the client may receive input events normally reserved by the compositor (see zwp_keyboard_shortcuts_inhibitor_v1).

This occurs typically when the initial request "inhibit_shortcuts" first becomes active or when the user instructs the compositor to re-enable and existing shortcuts inhibitor using any mechanism offered by the compositor.

fn inactive(&mut self, object: *mut zwp_keyboard_shortcuts_inhibitor_v1)

shortcuts are restored

This event indicates that the shortcuts inhibitor is inactive, normal shortcuts processing is restored by the compositor.

Loading content...

Implementors

Loading content...