[gtk+] entry: Add a diagram to CSS node docs



commit 6328cf5ee5d233c90f8cf406a83a57c1745ebd6d
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 3 09:53:00 2015 -0500

    entry: Add a diagram to CSS node docs

 gtk/gtkentry.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 5783118..e5d3886 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -116,6 +116,13 @@
  *
  * # CSS nodes
  *
+ * |[<!-- language="plain" -->
+ * entry
+ * ├── image.left
+ * ├── image.right
+ * ╰── progress[.pulse]
+ * ]|
+ *
  * GtkEntry has a main node with the name entry. Depending on the properties
  * of the entry, the style classes .read-only and .flat may appear. The style
  * classes .warning and .error may also be used with entries.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]