Banners are hidden by default, use property@Banner:revealed to show them.
Banners have a title, set with property@Banner:title. Titles can be marked
up with Pango markup, use property@Banner:use-markup to enable it.
The title will be shown centered or left-aligned depending on available
space.
Banners can optionally have a button with text on it, set through
property@Banner:button-label. The button can be used with a gio.action.Action,
or with the signal@Banner::button-clicked signal.
A bar with contextual information.
<picture> <source srcset="banner-dark.png" media="(prefers-color-scheme: dark)"> <img src="banner.png" alt="banner"> </picture>
Banners are hidden by default, use property@Banner:revealed to show them.
Banners have a title, set with property@Banner:title. Titles can be marked up with Pango markup, use property@Banner:use-markup to enable it.
The title will be shown centered or left-aligned depending on available space.
Banners can optionally have a button with text on it, set through property@Banner:button-label. The button can be used with a gio.action.Action, or with the signal@Banner::button-clicked signal.
CSS nodes
adw.banner.Banner has a main CSS node with the name banner.