group


Description:

public void group (Gesture gesture)

Adds gesture to the same group than this.

Gestures are by default isolated in their own groups.

Both gestures must have been added to the same widget before they can be grouped.

When gestures are grouped, the state of EventSequences is kept in sync for all of those, so calling set_sequence_state, on one will transfer the same value to the others.

Groups also perform an "implicit grabbing" of sequences, if a EventSequence state is set to CLAIMED on one group, every other gesture group attached to the same Widget will switch the state for that sequence to DENIED.

Parameters:

this

Gesture to group gesture with

gesture

a Gesture