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 items to the
popup, which will be a
Menu in this case.
the container that is being populated