Class
AdwBanner
Description [src]
final class Adw.Banner : Gtk.Widget {
/* No available fields */
}
A bar with contextual information.
Banners are hidden by default, use AdwBanner:revealed to show them.
Banners have a title, set with AdwBanner:title. Titles can be marked
up with Pango markup, use AdwBanner: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
AdwBanner:button-label. The button can be used with a GAction,
or with the AdwBanner::button-clicked signal.
CSS nodes
AdwBanner has a main CSS node with the name banner.
| Available since: | 1.3 |
Instance methods
adw_banner_get_use_markup
Gets whether to use Pango markup for the banner title.
Available since: 1.3
adw_banner_set_use_markup
Sets whether to use Pango markup for the banner title.
Available since: 1.3
Signals
Adw.Banner::button-clicked
This signal is emitted after the action button has been clicked.
Available since: 1.3