switch: Fix CSS nodes documentation
A switch contains two GtkImage's whose nodes are named 'image', not 'label'. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
committed by
Matthias Clasen
parent
86d2bf746c
commit
2873d7e046
@@ -47,13 +47,13 @@
|
||||
*
|
||||
* ```
|
||||
* switch
|
||||
* ├── label
|
||||
* ├── label
|
||||
* ├── image
|
||||
* ├── image
|
||||
* ╰── slider
|
||||
* ```
|
||||
*
|
||||
* `GtkSwitch` has four css nodes, the main node with the name switch and
|
||||
* subnodes for the slider and the on and off labels. Neither of them is
|
||||
* subnodes for the slider and the on and off images. Neither of them is
|
||||
* using any style classes.
|
||||
*
|
||||
* # Accessibility
|
||||
|
||||
Reference in New Issue
Block a user