button: Add diagrams to CSS node docs for buttons
This commit is contained in:
parent
6328cf5ee5
commit
67b739b58a
@ -53,9 +53,19 @@
|
||||
*
|
||||
* # CSS nodes
|
||||
*
|
||||
* |[<!-- language="plain" -->
|
||||
* checkbutton
|
||||
* ╰── check
|
||||
* ]|
|
||||
*
|
||||
* A GtkCheckButton with indicator (see gtk_toggle_button_set_mode()) has a
|
||||
* main CSS node with name checkbutton and a subnode with name check.
|
||||
*
|
||||
* |[<!-- language="plain" -->
|
||||
* button.check
|
||||
* ╰── [check]
|
||||
* ]|
|
||||
*
|
||||
* A GtkCheckButton without indicator changes the name of its main node
|
||||
* to button and adds a .check style class to it. The subnode is invisible
|
||||
* in this case.
|
||||
|
@ -74,9 +74,19 @@
|
||||
*
|
||||
* # CSS nodes
|
||||
*
|
||||
* |[<!-- language="plain" -->
|
||||
* radiobutton
|
||||
* ╰── radio
|
||||
* ]|
|
||||
*
|
||||
* A GtkRadioButton with indicator (see gtk_toggle_button_set_mode()) has a
|
||||
* main CSS node with name radiobutton and a subnode with name radio.
|
||||
*
|
||||
* |[<!-- language="plain" -->
|
||||
* button.radio
|
||||
* ╰── [radio]
|
||||
* ]|
|
||||
*
|
||||
* A GtkRadioButton without indicator changes the name of its main node
|
||||
* to button and adds a .radio style class to it. The subnode is invisible
|
||||
* in this case.
|
||||
|
Loading…
Reference in New Issue
Block a user