has_parent


Description:

[ 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.

Parameters:

this

a WidgetPath

type

widget type to check in parents

Returns:

true if any parent is of type type