Package: gtk

Function gtk:gesture-group

Lambda List

gtk:gesture-group (group gesture)

Arguments

group -- a gtk:gesture object to group gesture with
gesture -- a gtk:gesture object

Details

Adds gesture to the same group than group. Gestures are by default isolated in their own groups.

When gestures are grouped, the state of gdk:event-sequence instances is kept in sync for all of those, so calling the gtk:gesture-sequence-state function, on one will transfer the same value to the others.

Groups also perform an "implicit grabbing" of sequences, if a gdk:event-sequence state is set to :claimed on one group, every other gesture group attached to the same GtkWidget will switch the state for that sequence to :denied.
 

See also

#2023-3-5