Signal

GtkUIManager::add-widget

deprecated: 3.10 since: 2.4

Declaration

void
add_widget (
  GtkUIManager* self,
  GtkWidget* widget,
  gpointer user_data
)

Description [src]

The ::add-widget signal is emitted for each generated menubar and toolbar. It is not emitted for generated popup menus, which can be obtained by gtk_ui_manager_get_widget().

Default handler:

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

Signal emission will restart instead of recursing
Available since: 2.4
Deprecated since: 3.10

Please do not use it in newly written code.

Parameters

widget

Type: GtkWidget

The added widget.

The data is owned by the caller of the function.