scrolledwindow: Document overlay scrolling style classes

Document which style classes are used on scrollbars to
implement overlay scrolling.
This commit is contained in:
Matthias Clasen 2015-11-06 23:35:20 -05:00
parent 353bfb0092
commit cf7f23f4dd
2 changed files with 6 additions and 1 deletions

View File

@ -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).
*/

View File

@ -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.