Bases: MouseEvent
Sent when a widget is clicked.
- Bubbles
- Verbose
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
int
|
The number of clicks in the chain. 2 is a double click, 3 is a triple click, etc. |
1
|
Double & triple clicks¶
The chain
attribute on the Click
event can be used to determine the number of clicks that occurred in quick succession.
A value of 1
indicates a single click, 2
indicates a double click, and so on.
By default, clicks must occur within 500ms of each other for them to be considered a chain.
You can change this value by setting the CLICK_CHAIN_TIME_THRESHOLD
class variable on your App
subclass.
See MouseEvent for the list of properties and methods on the parent class.