[ Version ( since = "4.17.2" ) ]
public void popup_menu (Menu menu, Widget? widget, Event? trigger_event)
Pops up menu at widget if widget is non-null and if appropriate
given the panel position, otherwise pops up menu at pointer.
As a convenience, popup_menu calls register_menu
for the menu.
For a custom widget that will be used as a popup menu, use popup_window instead if this widget is a Window, or position_widget.
See also: popup_at_widget and popup_at_pointer.
| this |
an PanelPlugin. |
| menu |
a Menu. |
| widget |
the Widget to align |
| trigger_event |
the Event that initiated this request or null if it's the current event. |