populate_popup


Description:

public virtual signal void populate_popup (Menu menu)

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.

Parameters:

menu

the menu that is being populated