Clarify the docs for gtk_widget_class_set_css_name

Reword, and mention the default css name.
This commit is contained in:
Matthias Clasen 2020-12-02 10:06:01 -05:00
parent 6a3bd1c4d1
commit b5077d02ed

View File

@ -10356,7 +10356,8 @@ _gtk_widget_get_sizegroups (GtkWidget *widget)
* 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.
* set on the parent class is used. By default, GtkWidget uses
* the name "widget".
*/
void
gtk_widget_class_set_css_name (GtkWidgetClass *widget_class,