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. Both gestures must have been added to the same widget before they can be grouped.

When gestures are grouped, the state of the 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 instance is set to :claimed on one group, every other gesture group attached to the same gtk:widget object will switch the state for that sequence to :denied.
 

See also

#2024-7-27