[][src]Trait wayland_protocols::unstable::keyboard_shortcuts_inhibit::v1::client::zwp_keyboard_shortcuts_inhibit_manager_v1::RequestsTrait

pub trait RequestsTrait {
    fn destroy(&self);
fn inhibit_shortcuts<F>(
        &self,
        surface: &Proxy<WlSurface>,
        seat: &Proxy<WlSeat>,
        implementor: F
    ) -> Result<Proxy<ZwpKeyboardShortcutsInhibitorV1>, ()>
    where
        F: FnOnce(NewProxy<ZwpKeyboardShortcutsInhibitorV1>) -> Proxy<ZwpKeyboardShortcutsInhibitorV1>
; }

Required methods

fn destroy(&self)

destroy the keyboard shortcuts inhibitor object

Destroy the keyboard shortcuts inhibitor manager.

This is a destructor, you cannot send requests to this object any longer once this method is called.

fn inhibit_shortcuts<F>(
    &self,
    surface: &Proxy<WlSurface>,
    seat: &Proxy<WlSeat>,
    implementor: F
) -> Result<Proxy<ZwpKeyboardShortcutsInhibitorV1>, ()> where
    F: FnOnce(NewProxy<ZwpKeyboardShortcutsInhibitorV1>) -> Proxy<ZwpKeyboardShortcutsInhibitorV1>, 

create a new keyboard shortcuts inhibitor object

Create a new keyboard shortcuts inhibitor object associated with the given surface for the given seat.

If shortcuts are already inhibited for the specified seat and surface, a protocol error "already_inhibited" is raised by the compositor.

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZwpKeyboardShortcutsInhibitManagerV1>[src]

Loading content...

Implementors

Loading content...