src/swipl-devel/packages/xpce/man/refmanual/md/modifier.md

class modifier {#class-modifier}

A modifier object describes a condition on the modifier keys (SHIFT, CONTROL and META). Modifier objects are used to describe the modifier condition of gestures or to validate the modifier condition for some event.

Modifiers are normally not specified as an object, but as a name that is automatically converted. In

?- new(X, move_gesture(middle, c)).

c is automatically <-convert'ed into a modifier object.

@see gesture.modifier @see gesture-modifier @see class gesture @see event->has_modifier

Instance variables {#class-modifier-instvars}

Send methods {#class-modifier-send}

Get methods {#class-modifier-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.