Struct leechbar::ClickEvent [] [src]

pub struct ClickEvent {
    pub button: MouseButton,
    pub position: Geometry,
}

Mouse click on the component.

This event indicates that the user has clicked inside the component.

Fields

The mouse button which has been used to click on the component.

The position releative to the top-left of the component.