Label.addOnPopulatePopup

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.

class Label
gulong
addOnPopulatePopup
(
void delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)