Method

GtkStyleContexthas_class

since: 3.0

Declaration [src]

gboolean
gtk_style_context_has_class (
  GtkStyleContext* context,
  const gchar* class_name
)

Description [src]

Returns TRUE if context currently has defined the given class name.

Available since: 3.0

Parameters

class_name

Type: const gchar*

A 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 context has class_name defined.