Package: gtk

Function gtk-menu-popup-at-pointer

Lambda List

gtk-menu-popup-at-pointer (menu event)

Arguments

menu -- a gtk-menu widget
event -- a gdk-event event that initiated this request of nil if it is the current event

Details

Displays menu and makes it available for selection. See the gtk-menu-popup-at-widget function to pop up a menu at a widget. The gtk-menu-popup-at-rect function also allows you to position a menu at an arbitrary rectangle.

The menu will be positioned at the pointer associated with event.

Properties that influence the behaviour of this function are anchor-hints, rect-anchor-dx, rect-anchor-dy, and menu-type-hint. Connect to the "popped-up" signal to find out how it was actually positioned.

Since 3.22
 

See also

2021-11-14