WidgetPath.isType

bool isType(gobject.types.GType type)

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

Parameters

typewidget type to match

Returns

true if the widget represented by path is of type type