Signal

GtkLabel::populate-popup

Declaration

void
populate_popup (
  GtkLabel* self,
  GtkMenu* menu,
  gpointer user_data
)

Description [src]

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.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Parameters

menu

Type: GtkMenu

The menu that is being populated.

The data is owned by the caller of the function.