Signal
GtkWidget::hierarchy-changed
Declaration
void
hierarchy_changed (
GtkWidget* self,
GtkWidget* previous_toplevel,
gpointer user_data
)
Description [src]
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.
Default handler: The default handler is called after the handlers added via |
Parameters
previous_toplevel
-
Type:
GtkWidget
The previous toplevel ancestor, or
NULL
if the widget was previously unanchored.The argument can be NULL
.The data is owned by the caller of the function.