[][src]Trait wayland_protocols::unstable::pointer_constraints::v1::client::zwp_confined_pointer_v1::EventHandler

pub trait EventHandler {
    fn confined(&mut self, object: ZwpConfinedPointerV1) { ... }
fn unconfined(&mut self, object: ZwpConfinedPointerV1) { ... } }

An interface for handling events.

Provided methods

fn confined(&mut self, object: ZwpConfinedPointerV1)

pointer confined

Notification that the pointer confinement of the seat's pointer is activated.

fn unconfined(&mut self, object: ZwpConfinedPointerV1)

pointer unconfined

Notification that the pointer confinement of the seat's pointer is no longer active. If this is a oneshot pointer confinement (see wp_pointer_constraints.lifetime) this object is now defunct and should be destroyed. If this is a persistent pointer confinement (see wp_pointer_constraints.lifetime) this pointer confinement may again reactivate in the future.

Loading content...

Implementors

Loading content...