From c7833bb090351a91950c4c85fdf12044279d1c81 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 18 Jul 2020 09:55:46 -0400 Subject: [PATCH] editablelabel: Document css nodes Just the usual. --- gtk/gtkeditablelabel.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gtk/gtkeditablelabel.c b/gtk/gtkeditablelabel.c index 4ca22ff129..f1d18c7917 100644 --- a/gtk/gtkeditablelabel.c +++ b/gtk/gtkeditablelabel.c @@ -48,6 +48,22 @@ * to click or press the Enter key. The default bindings * for leaving the edit mode are the Enter key (to save * the results) or the Escape key (to cancel the editing). + * + * # CSS nodes + * + * |[ + * editablelabel[.editing] + * ╰── stack + * ├── label + * ╰── text + * ]| + * + * GtkEditableLabel has a main node with the name editablelabel. + * When the entry is in editing mode, it gets the .editing style + * class. + * + * For all the subnodes added to the text node in various situations, + * see #GtkText. */ struct _GtkEditableLabel