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
.
menu |
the menu that is being populated |