model button: Add diagrams to the CSS node documentation

This commit is contained in:
Matthias Clasen 2015-11-03 12:51:52 -05:00
parent 19b34a44b2
commit 09f7c8511b

View File

@ -105,6 +105,33 @@
* </child>
* </object>
* ]|
*
* # CSS nodes
*
* |[<!-- language="plain" -->
* modelbutton
* ...
* check
* ]|
*
* |[<!-- language="plain" -->
* modelbutton
* ...
* radio
* ]|
*
* |[<!-- language="plain" -->
* modelbutton
* ...
* arrow
* ]|
*
* GtkModelButton has a main CSS node with name modelbutton, and a subnode,
* which will have the name check, radio or arrow, depending on the role
* of the button and whether it has a menu name set.
*
* The subnode is positioned before or after the content nodes and gets the
* .left or .right style class, depending on where it is located.
*/
struct _GtkModelButton