[gtk+] combo box: Add diagrams to CSS documentation



commit 92e3655ace0ac505c283a054d10332a00157e0bf
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 3 14:19:08 2015 -0500

    combo box: Add diagrams to CSS documentation

 gtk/gtkcombobox.c     |    7 ++++++-
 gtk/gtkcomboboxtext.c |   12 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 6447c67..2b6344a 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -90,8 +90,13 @@
  *
  * # CSS nodes
  *
+ * |[<!-- language="plain" -->
+ * combobox
+ * ╰── button.combo
+ * ]|
+ *
  * GtkComboBox has a single CSS node with name combobox. It adds the
- * .combo style class to the button (and entry) that it contains.
+ * .combo style class to the button that it contains.
  */
 
 
diff --git a/gtk/gtkcomboboxtext.c b/gtk/gtkcomboboxtext.c
index df0670f..a465d8b 100644
--- a/gtk/gtkcomboboxtext.c
+++ b/gtk/gtkcomboboxtext.c
@@ -70,6 +70,18 @@
  *   </items>
  * </object>
  * ]|
+ *
+ * # CSS nodes
+ *
+ * |[<!-- language="plain" -->
+ * combobox
+ * ├── entry.combo
+ * ╰── button.combo
+ * ]|
+ *
+ * GtkComboBoxText has a single CSS node with name combobox. It adds
+ * the style class .combo to the main CSS nodes of its entry and button
+ * children.
  */
 
 static void     gtk_combo_box_text_buildable_interface_init     (GtkBuildableIface *iface);


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