WidgetPath.hasParent

Returns %TRUE if any of the parents of the widget represented in @path is of type @type, or any subtype of it.

class WidgetPath
bool
hasParent

Parameters

type GType

widget type to check in parents

Return Value

Type: bool

%TRUE if any parent is of type @type

Meta