diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-11-03 14:19:08 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-03 14:27:35 -0500 |
commit | 92e3655ace0ac505c283a054d10332a00157e0bf (patch) | |
tree | c1255c5f9ed788161eeb71585925d67b34883675 /gtk | |
parent | a7076d1c4ca914e8fb4b148845a085cb7a818947 (diff) | |
download | gtk+-92e3655ace0ac505c283a054d10332a00157e0bf.tar.gz |
combo box: Add diagrams to CSS documentation
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkcombobox.c | 7 | ||||
-rw-r--r-- | gtk/gtkcomboboxtext.c | 12 |
2 files changed, 18 insertions, 1 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index 6447c67937..2b6344a730 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 df0670f8c9..a465d8be7d 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); |