popup_at_pointer
Description:
Displays this 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.
this 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.
Parameters:
this |
the Menu to pop up |
trigger_event |
the Event that initiated this request or null if it's the current event |