Method

GtkWidgetPathhas_parent

Declaration [src]

gboolean
gtk_widget_path_has_parent (
  const GtkWidgetPath* path,
  GType type
)

Description [src]

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

Available since:3.0

Parameters

type

Type: GType

Widget type to check in parents.

Return value

Type: gboolean

TRUE if any parent is of type type.