diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2021-05-09 16:55:48 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2021-05-09 16:55:48 +0500 |
commit | 2c8e4573f2ccf4b3b4944fc46b991f43e3d8c547 (patch) | |
tree | 9c6b196d66a557a9f604accf79d150fbb9910254 /gtk/gtkactionbar.c | |
parent | b45721373aa9847a48340d7bc94bbf38728b2d63 (diff) | |
download | gtk+-2c8e4573f2ccf4b3b4944fc46b991f43e3d8c547.tar.gz |
actionbar: Fix the css node docs
Diffstat (limited to 'gtk/gtkactionbar.c')
-rw-r--r-- | gtk/gtkactionbar.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gtk/gtkactionbar.c b/gtk/gtkactionbar.c index e82ed3d7c0..7bbcddfae8 100644 --- a/gtk/gtkactionbar.c +++ b/gtk/gtkactionbar.c @@ -49,7 +49,23 @@ * * # CSS nodes * - * `GtkActionBar` has a single CSS node with name actionbar. + * ``` + * actionbar + * ╰── revealer + * ╰── box + * ├── box.start + * │ ╰── [start children] + * ├── [center widget] + * ╰── box.end + * ╰── [end children] + * ``` + * + * A `GtkActionBar`'s CSS node is called `actionbar`. It contains a `revealer` + * subnode, which contains a `box` subnode, which contains two `box` subnodes at + * the start and end of the action bar, with `start` and `end style classes + * respectively, as well as a center node that represents the center child. + * + * Each of the boxes contains children packed for that side. */ typedef struct _GtkActionBarClass GtkActionBarClass; |