hierarchy_changed


Description:

public virtual signal void hierarchy_changed (Widget? previous_toplevel)

The hierarchy_changed signal is emitted when the anchored state of a widget changes.

A widget is “anchored” when its toplevel ancestor is a Window. This signal is emitted when a widget changes from un-anchored to anchored or vice-versa.

Parameters:

previous_toplevel

the previous toplevel ancestor, or null if the widget was previously unanchored