Method

GtkWidgetget_css_classes

Declaration [src]

char**
gtk_widget_get_css_classes (
  GtkWidget* widget
)

Description [src]

Returns the list of style classes applied to widget.

Gets propertyGtk.Widget:css-classes

Return value

Type: An array of utf8

A NULL-terminated list of css classes currently applied to widget. The returned list must freed using g_strfreev().

The array is NULL-terminated.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.