From 65d959bbc8aa24a97c5dbb56896a2d724c741151 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 3 Nov 2015 13:36:26 -0500 Subject: [PATCH] spin button: Add diagrams to CSS documentation --- gtk/gtkspinbutton.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 9771695578..7375b5f400 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -82,6 +82,22 @@ * * # CSS nodes * + * |[ + * spinbutton.horizontal + * ├── entry + * │ ╰── ... + * ├── button.down + * ╰── button.up + * ]| + * + * |[ + * spinbutton.vertical + * ├── button.up + * ├── entry + * │ ╰── ... + * ╰── button.down + * ]| + * * GtkSpinButtons main CSS node has the name spinbutton. It creates subnodes * for the entry and the two buttons, with these names. The button nodes have * the style classes .up and .down. The GtkEntry subnodes (if present) are put