diff options
author | Timm Bäder <mail@baedert.org> | 2017-05-25 17:34:23 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:13 -0400 |
commit | b9f70b473c353d920f77f272a66aa16c6de7e8d7 (patch) | |
tree | 2f39c98113f683b91049180c1e5ad75ce7a3911f /gtk/gtkscrollbar.c | |
parent | 0a70ec2d36d603fa99e39019a702dd96b1b12479 (diff) | |
download | gtk+-b9f70b473c353d920f77f272a66aa16c6de7e8d7.tar.gz |
scrollbar: Add new API to gtk4-sections.txt
and update the css node docs
Diffstat (limited to 'gtk/gtkscrollbar.c')
-rw-r--r-- | gtk/gtkscrollbar.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c index 13268f0d0a..2f6b7c8d8e 100644 --- a/gtk/gtkscrollbar.c +++ b/gtk/gtkscrollbar.c @@ -26,7 +26,7 @@ #include "config.h" #include "gtkscrollbar.h" -#include "gtkrangeprivate.h" +#include "gtkrange.h" #include "gtkadjustment.h" #include "gtkintl.h" @@ -59,17 +59,15 @@ * * |[<!-- language="plain" --> * scrollbar[.fine-tune] - * ╰── contents - * ├── [button.up] - * ├── [button.down] - * ├── trough - * │ ╰── slider - * ├── [button.up] - * ╰── [button.down] + * ╰── box + * ╰── range + * ╰── trough + * ╰── slider * ]| * * GtkScrollbar has a main CSS node with name scrollbar and a subnode for its - * contents, with subnodes named trough and slider. + * contents. Both the main node and the box subnode get the .horizontal or .vertical + * style classes applied, depending on the scrollbar's orientation. * * The main node gets the style class .fine-tune added when the scrollbar is * in 'fine-tuning' mode. |