Gtk.Label::populate-popup
function callback(label, menu:Gtk.Menu, ):void;
The ::populate-popup signal gets emitted before showing the context menu of the label. Note that only selectable labels have context menus.
If you need to add items to the context menu, connect to this signal and append your menuitems to the menu.
- label
instance of Gtk.Label that is emitting the signal
- menu
the menu that is being populated