From: Daniel Boles Date: Sat, 29 Apr 2023 21:38:21 +0000 (+0100) Subject: Expander: Clarify/format CSS nodes documentation X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~333^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0442fc2b55f631ba69d456255f6c38bf0e40d9de;p=gtk4.git Expander: Clarify/format CSS nodes documentation Use backticks to highlight the node names, mention the box, and clarify that the arrow referred to in the last sentence is the `expander` node. --- diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index 65781b9f2c..0990753ba1 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -106,9 +106,10 @@ * ╰── * ``` * - * `GtkExpander` has three CSS nodes, the main node with the name expander-widget, - * a subnode with name title and node below it with name expander. The arrow of an - * expander that is showing its child gets the :checked pseudoclass added to it. + * `GtkExpander` has a main node `expander-widget`, and subnode `box` containing + * the title and child widget. The box subnode `title` contains node `expander`, + * i.e. the expand/collapse arrow; then the label widget if any. The arrow of an + * expander that is showing its child gets the `:checked` pseudoclass set on it. * * # Accessibility *