[ Version ( since = "1.7" ) ]
public void set_button_style (BannerButtonStyle style)
Sets the style class to use for the banner button.
When set to [enum@Adw.BannerButtonStyle.default], the button is grey. When set to [enum@Adw.BannerButtonStyle.suggested], the button uses the [`.suggested-action`](style-classes.html#suggested-action) appearance.
<picture> <source srcset="banner-suggested-dark.png" media="(prefers-color-scheme: dark)"> <img src="banner-suggested.png" alt="banner with suggested button style"> </picture>
| this |
a banner |
| style |
a button style |