mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 21:40:19 +00:00
Add more CSS node docs
This commit is contained in:
parent
040723ec2d
commit
029aad7907
@ -61,6 +61,11 @@
|
||||
* - The draw function should just use gtk_style_context_save_to_node() to
|
||||
* 'switch' to the right node, not make any other changes to the style
|
||||
* context.
|
||||
*
|
||||
* A noteworthy difference between gtk_style_context_save() and
|
||||
* gtk_style_context_save_to_node() is that the former inherits all the
|
||||
* style classes from the main CSS node, which often leads to unintended
|
||||
* inheritance.
|
||||
*/
|
||||
|
||||
/* When these change we do a full restyling. Otherwise we try to figure out
|
||||
|
Loading…
Reference in New Issue
Block a user