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

class popup_gesture {#class-popup_gesture}

A popup_gesture is used to show a popup object. It event ->posts all incoming events to the popup-menu and requests the popup to execute the selected command after the user releases the button that caused the gesture to activate the popup.

Many classes define methods for associating popup objects using the method graphical ->popup or a redefinition thereof. Direct use of instances of this class is often not necessary.

@see graphical->popup @see class popup

Instance variables {#class-popup_gesture-instvars}

Send methods {#class-popup_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.