ion.constants.event_actions

Event actions identify the input gesture matched by MatchKey and MatchPointer, passed as the action= kwarg. When omitted the default differs by matcher: MatchKey defaults to PRESS while MatchPointer defaults to CLICK. Some actions fire on raw key/button transitions, others are derived gestures synthesised from press/release sequences - so a single physical press can trigger several matchers. The consume= kwarg controls whether earlier matches suppress later ones.

Event action constants for key and pointer bindings.

Data

ion.constants.event_actions.CLICK
Value:

2

ion.constants.event_actions.DOUBLE_CLICK
Value:

3

ion.constants.event_actions.DRAG
Value:

4

ion.constants.event_actions.PRESS
Value:

0

ion.constants.event_actions.RELEASE
Value:

1