isAncestor

open fun isAncestor(ancestor: Widget): Boolean

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

Return

true if @ancestor contains @widget as a child, grandchild, great grandchild, etc.

Parameters

ancestor

another GtkWidget