Method

GtkWidgethas_css_class

Declaration [src]

gboolean
gtk_widget_has_css_class (
  GtkWidget* widget,
  const char* css_class
)

Description [src]

Returns whether a style class is currently applied to the widget.

Parameters

css_class

Type: const char*

Style class, without the leading period.

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 css_class is currently applied to widget.