Expander: Clarify/format CSS nodes documentation
authorDaniel Boles <dboles.src@gmail.com>
Sat, 29 Apr 2023 21:38:21 +0000 (22:38 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Sun, 30 Apr 2023 10:56:07 +0000 (11:56 +0100)
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.

gtk/gtkexpander.c

index 65781b9f2ca0eb30f12c295c1a05501c0f837d92..0990753ba1ba0868cc857c9d1eb74e2ab742b452 100644 (file)
  *     ╰── <child>
  * ```
  *
- * `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
  *