Trait smithay::backend::input::PointerButtonEvent [−][src]
pub trait PointerButtonEvent<B: InputBackend>: Event<B> { fn button(&self) -> MouseButton; fn state(&self) -> ButtonState; }
Expand description
Common methods pointer event generated by pressed buttons do implement
Required methods
Pressed button of the event
fn state(&self) -> ButtonState
fn state(&self) -> ButtonState
State of the button