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
int
hasParent

Parameters

type GType

widget type to check in parents

Return Value

Type: int

TRUE if any parent is of type type Since 3.0

Meta