Class method

GtkWidgetClassset_css_name

Declaration [src]

void
gtk_widget_class_set_css_name (
  GtkWidgetClass* widget_class,
  const char* name
)

Description [src]

Sets the name to be used for CSS matching of widgets.

If this function is not called for a given class, the name of the parent class is used.

Available since:3.20

Parameters

name

Type: const char*

Name to use.

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