[][src]Trait wlroots::input::tablet_tool::Handler

pub trait Handler {
    fn on_axis(
        &mut self,
        compositor_handle: Handle,
        tablet_tool_handle: Handle,
        event: &Axis
    ) { ... }
fn on_proximity(
        &mut self,
        compositor_handle: Handle,
        tablet_tool_handle: Handle,
        event: &Proximity
    ) { ... }
fn on_tip(
        &mut self,
        compositor_handle: Handle,
        tablet_tool_handle: Handle,
        event: &Tip
    ) { ... }
fn on_button(
        &mut self,
        compositor_handle: Handle,
        tablet_tool_handle: Handle,
        event: &Button
    ) { ... }
fn destroyed(
        &mut self,
        compositor_handle: Handle,
        tablet_tool_handle: Handle
    ) { ... } }

Provided Methods

Callback that is triggered when an axis event fires

Callback that is triggered when a table tool is brought close to the input source.

Callback that is triggered when a table tool's tip touches the input source.

Callback that is triggered when a button is pressed on the tablet tool.

Callback that is triggered when a tablet tool is destroyed.

Implementors