scale: Document the new CSS nodes
This commit is contained in:
@ -75,13 +75,15 @@
|
|||||||
* # CSS nodes
|
* # CSS nodes
|
||||||
*
|
*
|
||||||
* |[<!-- language="plain" -->
|
* |[<!-- language="plain" -->
|
||||||
* scale
|
* scale[.fine-tune]
|
||||||
* ├── marks.top
|
* ├── marks.top
|
||||||
* │ ├── mark
|
* │ ├── mark
|
||||||
* │ ├── mark
|
* │ ├── mark
|
||||||
* │ ╰── ...
|
* │ ╰── ...
|
||||||
* ├── trough
|
* ├── trough
|
||||||
* │ ╰── slider
|
* │ ├──slider
|
||||||
|
* │ ├── [highlight]
|
||||||
|
* │ ╰── [fill]
|
||||||
* ╰── marks.bottom
|
* ╰── marks.bottom
|
||||||
* ├── mark
|
* ├── mark
|
||||||
* ├── mark
|
* ├── mark
|
||||||
@ -94,6 +96,14 @@
|
|||||||
* The main node gets the style class .fine-tune added when the scale is in
|
* The main node gets the style class .fine-tune added when the scale is in
|
||||||
* 'fine-tuning' mode.
|
* 'fine-tuning' mode.
|
||||||
*
|
*
|
||||||
|
* If the scale has an origin (see gtk_scale_set_has_origin()), there is a
|
||||||
|
* subnode with name highlight below the trough node that is used for rendering
|
||||||
|
* the highlighted part of the trough.
|
||||||
|
*
|
||||||
|
* If the scale is showing a fill level (see gtk_range_set_show_fill_level()),
|
||||||
|
* there is a subnode with name fill below the trough node that is used for
|
||||||
|
* rendering the filled in part of the trough.
|
||||||
|
*
|
||||||
* If marks are present, there is a marks subnode before or after the trough
|
* If marks are present, there is a marks subnode before or after the trough
|
||||||
* node, below which each mark gets a node with name mark. The marks nodes get
|
* node, below which each mark gets a node with name mark. The marks nodes get
|
||||||
* either the .top or .bottom style class.
|
* either the .top or .bottom style class.
|
||||||
|
|||||||
Reference in New Issue
Block a user