TextView.addOnPopulatePopup

The ::populate-popup signal gets emitted before showing the context menu of the text view. If you need to add items to the context menu, connect to this signal and append your menuitems to the menu.

class TextView
void
addOnPopulatePopup

Meta