Gtk.UIManager::add-widget

function callback(u_i_manager, widget:Gtk.Widget, ):void;

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.UIManager.prototype.get_widget.

Since 2.4

u_i_manager

instance of Gtk.UIManager that is emitting the signal

widget

the added widget