Signal

GtkAppChooserWidget::populate-popup

Declaration

void
populate_popup (
  GtkAppChooserWidget* self,
  GtkMenu* menu,
  GAppInfo* application,
  gpointer user_data
)

Description [src]

Emitted when a context menu is about to popup over an application item. Clients can insert menu items into the provided GtkMenu object in the callback of this signal; the context menu will be shown over the item if at least one item has been added to the menu.

Default handler:

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

Parameters

menu

Type: GtkMenu

The GtkMenu to populate.

The data is owned by the caller of the function.
application

Type: GAppInfo

The current GAppInfo.

The data is owned by the caller of the function.