4.18 <AdwToolbarStyle>

Enumeration: <AdwToolbarStyle>

Describes the possible top or bottom bar styles in an ToolbarView widget.

Adw.ToolbarStyle.flat is suitable for simple content, such as StatusPage or PreferencesPage, where the background at the top and bottom parts of the page is uniform. Additionally, windows with sidebars should always use this style.

Adw.ToolbarStyle.raised style is suitable for content such as utility panes, where some elements are directly adjacent to the top/bottom bars, or TabView, where each page can have a different background.

Adw.ToolbarStyle.raised-border style is similar to Adw.ToolbarStyle.raised, but with the shadow replaced with a more subtle border. It’s intended to be used in applications like image viewers, where a shadow over the content might be undesired.

See ToolbarView:top-bar-style and ToolbarView:bottom-bar-style.

New values may be added to this enumeration over time.

Members

flat

No background, shadow only for scrolled content

raised

Opaque background with a persistent shadow

raised-border

Opaque background with a persistent border