Menu.popupAtPointer

Displays menu and makes it available for selection.

See gtk_menu_popup_at_widget () to pop up a menu at a widget. gtk_menu_popup_at_rect () also allows you to position a menu at an arbitrary rectangle.

menu will be positioned at the pointer associated with trigger_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.

class Menu
void
popupAtPointer

Parameters

triggerEvent Event

the gdk.Event that initiated this request or NULL if it's the current event

Meta

Since

3.22