Widget.isAncestor

Determines whether @widget is somewhere inside @ancestor, possibly with intermediate containers.

class Widget
bool
isAncestor

Parameters

ancestor Widget

another #GtkWidget

Return: %TRUE if @ancestor contains @widget as a child, grandchild, great grandchild, etc.

Meta