[ Version ( since = "3.0" ) ]
public bool has_parent (Type type)
Returns true if any of the parents of the widget represented in this
is of type type
, or any subtype of it.
this | |
type |
widget type to check in parents |
true if any parent is of type |