is_ancestor


Description:

public bool is_ancestor (Widget ancestor)

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

Parameters:

this

a `GtkWidget`

ancestor

another `GtkWidget`

Returns:

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




2022 vala-language.org