diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-11-06 23:35:20 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-06 23:35:20 -0500 |
commit | cf7f23f4ddc191c2ce91192b0d8f07c625b25a08 (patch) | |
tree | 1563eaa216a4345bfee5f4254328170166cc039b /gtk | |
parent | 353bfb009255943eafaf852e817b21e874ccfe3b (diff) | |
download | gtk+-cf7f23f4ddc191c2ce91192b0d8f07c625b25a08.tar.gz |
scrolledwindow: Document overlay scrolling style classes
Document which style classes are used on scrollbars to
implement overlay scrolling.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkscrollbar.c | 4 | ||||
-rw-r--r-- | gtk/gtkscrolledwindow.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c index 29e8e63dbf..06ddc506bf 100644 --- a/gtk/gtkscrollbar.c +++ b/gtk/gtkscrollbar.c @@ -74,6 +74,10 @@ * If steppers are enabled, they are represented by up to four additional * subnodes with name button. These get the style classes .up and .down to * indicate in which direction they are moving. + * + * Other style classes that may be added to scrollbars inside #GtkScrolledWindow + * include the positional classes (.left, .right, .top, .bottom) and style + * classes related to overlay scrolling (.overlay-indicator, .dragging, .hovering). */ diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index ef55d40534..da37c0d4fb 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -116,7 +116,8 @@ * on where the indication is drawn. * * GtkScrolledWindow also sets the positional style classes (.left, - * .right, .top, .bottom) on the scrollbars. + * .right, .top, .bottom) and style classes related to overlay + * scrolling (.overlay-indicator, .dragging, .hovering) on its scrollbars. * * If both scrollbars are visible, the area where they meet is drawn * with a subnode named junction. |