Banner
A bar with contextual information.
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 GAction
, or with the signal@Banner::button-clicked signal.
CSS nodes
AdwBanner
has a main CSS node with the name banner
.
Since
1.3
Constructors
Properties
Functions
Link copied to clipboard
fun connectButtonClicked(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>
This signal is emitted after the action button has been clicked.