signal callback delegate or function to connect
void callback(gtk.widget.Widget previousToplevel, gtk.widget.Widget widget)
previousToplevel the previous toplevel ancestor, or null if the widget was previously unanchored (optional)
widget the instance the signal is connected to (optional)
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to HierarchyChanged signal.
The ::hierarchy-changed signal is emitted when the anchored state of a widget changes. A widget is “anchored” when its toplevel ancestor is a #GtkWindow. This signal is emitted when a widget changes from un-anchored to anchored or vice-versa.