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 instance that initiated this request, or nil if it is the current event

Details

Displays the 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 the anchor-hints, rect-anchor-dx, rect-anchor-dy, and menu-type-hint properties. Connect to the "popped-up" signal to find out how it was actually positioned.
 

See also

2024-3-14