summaryrefslogtreecommitdiff
path: root/gtk/gtkpasswordentry.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-06-26 11:56:27 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-06-26 16:13:02 -0400
commitfd2861d683b82608d5f6639f314765de4626f335 (patch)
treeaa33dd9f6948b513e85e918914d8796db33e0693 /gtk/gtkpasswordentry.c
parentcd9f5733b3e354301f29f1526744fec2da6fdfc8 (diff)
downloadgtk+-fd2861d683b82608d5f6639f314765de4626f335.tar.gz
docs: Add css docs to entries
The various entries were missing the semi-standard "CSS Nodes" section in their long descriptions. Add them.
Diffstat (limited to 'gtk/gtkpasswordentry.c')
-rw-r--r--gtk/gtkpasswordentry.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk/gtkpasswordentry.c b/gtk/gtkpasswordentry.c
index 391f5076ed..30e0950490 100644
--- a/gtk/gtkpasswordentry.c
+++ b/gtk/gtkpasswordentry.c
@@ -50,6 +50,20 @@
*
* GtkPasswordEntry provides only minimal API and should be used with the
* #GtkEditable API.
+ *
+ * # CSS Nodes
+ *
+ * |[<!-- language="plain" -->
+ * entry.password
+ * ╰── text
+ * ├── image.caps-lock-indicator
+ * ┊
+ * ]|
+ *
+ * GtkPasswordEntry has a single CSS node with name entry that carries
+ * a .passwordstyle class. The text Css node below it has a child with
+ * name image and style class .caps-lock-indicator for the Caps Lock
+ * icon, and possibly other children.
*/
typedef struct {