[][src]Trait wlroots::seat::drag_icon::Handler

pub trait Handler {
    fn on_map(&mut self, compositor_handle: Handle, drag_icon_handle: Handle);
fn on_unmap(&mut self, compositor_handle: Handle, drag_icon_handle: Handle);
fn destroyed(&mut self, compositor_handle: Handle, drag_icon_handle: Handle); }

Handles events from the wlr drag icon

Required Methods

Called when the drag icon is ready to be displayed.

Called when the drag icon should no longer be displayed

Called when the drag icon is about to be destroyed.

Implementors