signal callback delegate or function to connect
void callback(gtk.widget.Widget widget, gtk.entry.Entry entry)
widget the container that is being populated (optional)
entry the instance the signal is connected to (optional)
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to PopulatePopup signal.
The ::populate-popup signal gets emitted before showing the context menu of the entry.
If you need to add items to the context menu, connect to this signal and append your items to the widget, which will be a #GtkMenu in this case.
If #GtkEntry:populate-all is true, this signal will also be emitted to populate touch popups. In this case, widget will be a different container, e.g. a #GtkToolbar. The signal handler should not make assumptions about the type of widget.