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

class move_outline_gesture {#class-move_outline_gesture}

A move_outline gesture is very similar to a move_gesture object, except that it drags a dotted box instead of the object itself and only moves the object when the user releases the button.

The move-outline gesture is to be preferred if the graphical has constraints or connections because the move_gesture will force recomputing these constraints and connections on each drag-event, while the move_outline_gesture will do so only when the user releases the button.

Bugs:

The outline is a box that is actually (temporary) displayed on the same device as the graphical to be moved. The current implementation of PCE's repaint algorithm requires significant repaint operations to be performed each time the outline-box is moved. A dedicated implementation of the outline (using XOR'ing or copying) would improve efficiency.

Instance variables {#class-move_outline_gesture-instvars}

Send methods {#class-move_outline_gesture-send}



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.