summaryrefslogtreecommitdiff
path: root/gtk/gtksearchentry.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/gtksearchentry.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/gtksearchentry.c')
-rw-r--r--gtk/gtksearchentry.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index e65b3b7b85..4be02d57a7 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -71,6 +71,17 @@
* placed inside a #GtkSearchBar. If that is not the case,
* you can use gtk_search_entry_set_key_capture_widget() to let it
* capture key input from another widget.
+ *
+ * # CSS Nodes
+ *
+ * |[<!-- language="plain" -->
+ * entry.search
+ * ╰── text
+ * ]|
+ *
+ * GtkSearchEntry has a single CSS node with name entry that carries
+ * a .sarch style class, and the text node is a child of that.
+
*/
enum {