Widget.isAncestor

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

class Widget
int
isAncestor

Parameters

ancestor Widget

another GtkWidget

Return Value

Type: int

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

Meta