Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Click ¶
type Click struct {
// contains filtered or unexported fields
}
Click detects click gestures in the form of ClickEvents.
type ClickEvent ¶
type ClickEvent struct { Kind ClickKind Position image.Point Source pointer.Source Modifiers key.Modifiers Button pointer.Buttons // NumClicks records successive clicks occurring // within a short duration of each other. NumClicks int }
ClickEvent represent a click action, either a KindPress for the beginning of a click or a KindClick for a completed click.
func (ClickEvent) ImplementsEvent ¶
func (ClickEvent) ImplementsEvent()
Click to show internal directories.
Click to hide internal directories.