Method

GtkWidgetPathiter_has_class

since: 3.0

Declaration [src]

gboolean
gtk_widget_path_iter_has_class (
  const GtkWidgetPath* path,
  gint pos,
  const gchar* name
)

Description [src]

Returns TRUE if the widget at position pos has the class name defined, FALSE otherwise.

Available since: 3.0

Parameters

pos

Type: gint

Position to query, -1 for the path head.

name

Type: const gchar*

Class name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the class name is defined for the widget at pos.