Gtk.Widget::popup-menu
function callback(widget, ):Boolean;
This signal gets emitted whenever a widget should pop up a context menu. This usually happens through the standard key binding mechanism; by pressing a certain key while a widget is focused, the user can cause the widget to pop up a menu. For example, the Gtk.Entry widget creates a menu with clipboard commands. See <xref linkend="checklist-popup-menu"/> for an example of how to use this signal.
- widget
instance of Gtk.Widget that is emitting the signal
- Returns
true if a menu was activated