Gtk.Widget::parent-set

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

The ::parent-set signal is emitted when a new parent has been set on a widget.

widget

instance of Gtk.Widget that is emitting the signal

old_parent

the previous parent, or null if the widget just got its initial parent.