Struct leechbar::ClickEvent
[−]
[src]
pub struct ClickEvent { pub button: MouseButton, pub position: Geometry, pub released: bool, }
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.
position: Geometry
The position releative to the top-left of the component.
released: bool
Wether this is a button press or release event.