is_type


Description:

[ Version ( since = "3.0" ) ]
public bool is_type (Type type)

Returns true if the widget type represented by this path is type, or a subtype of it.

Parameters:

this

a WidgetPath

type

widget type to match

Returns:

true if the widget represented by this is of type type