[gtk/matthiasc/for-master: 48/56] Clarify the docs for gtk_widget_class_set_css_name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 48/56] Clarify the docs for gtk_widget_class_set_css_name
- Date: Wed, 2 Dec 2020 15:36:49 +0000 (UTC)
commit b5077d02edac3b72b77bb61eaf57e515f3e35603
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Dec 2 10:06:01 2020 -0500
Clarify the docs for gtk_widget_class_set_css_name
Reword, and mention the default css name.
gtk/gtkwidget.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 239e9ff929..89635ba8dc 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]