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

class Menu
void
popupAtPointer

Parameters

triggerEvent Event

the #GdkEvent that initiated this request or %NULL if it's the current event

Meta

Since

3.22