ToolbarView.setBottomBarStyle

void setBottomBarStyle(adw.types.ToolbarStyle style)

Sets appearance of the bottom bars for self.

If set to [adw.types.ToolbarStyle.Flat], bottom bars are flat and scrolling content has a subtle undershoot shadow when touching them, same as the

.undershoot-bottom

style class. This works well for simple content, e.g. classStatusPage or classPreferencesPage, where the background at the bottom of the page is uniform. Additionally, windows with sidebars should always use this style.

Undershoot shadow is only present if a bottom bar is actually present and visible. It is also never present if propertyToolbarView:extend-content-to-bottom-edge is set to TRUE.

If set to [adw.types.ToolbarStyle.Raised], bottom bars have an opaque background and a persistent shadow, this is suitable for content such as

utility panes,

where some elements are directly adjacent to the bottom bars, or classTabView, where each page can have a different background.

[adw.types.ToolbarStyle.RaisedBorder] is similar to [adw.types.ToolbarStyle.Raised], but the shadow is replaced with a more subtle border. This can be useful for applications like image viewers.

See also [adw.toolbar_view.ToolbarView.setTopBarStyle].

Parameters

stylebottom bar style