-
Notifications
You must be signed in to change notification settings - Fork 139
Mouse API
Jakub Sobon edited this page Mar 3, 2019
·
3 revisions
The mouse package exposes types that represent mouse buttons.
This is a data-only package which provides types that are accepted by the infrastructure and widgets in multiple locations.
The public API surface of this package consists of the following:
The mouse.Button type represents mouse buttons. The package provides predefined values for the recognised mouse buttons.
var button mouse.Button
button = mouse.ButtonLeft
See a typo, something missing or outright wrong? Feel free to edit the Wiki pages directly, alternatively talk to us.