Method

GtkWidgetPathiter_has_class

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 gint
 

Position to query, -1 for the path head.

name const gchar*
 

Class name.

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

Return value

Returns: gboolean
 

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