AdwBanner
A bar with contextual information.
Preview
Show Banner
CSS Node Tree
banner
└── revealer
└── widget
├── label.heading
└── button.text-button (when buttonLabel is set)Props
Behavior
- The title is centered, with the button at the end. When there isn't room to center the title it moves to the start, and when the title and button don't fit side by side the title goes above the button.
- A banner is as wide as its parent makes it: put it at the top of a vertical box, or of an
AdwToolbarView's content, to span the window. revealedslides the banner down and back up. A hidden banner keeps its place in the tree, with no height.- An underscore in
buttonLabelmarks the button's mnemonic. Clicking the button doesn't move the focus to it.