Property
AdwToolbarView:top-bar-style
unstable since: 1.4
Description [src]
Appearance of the top bars.
If set to ADW_TOOLBAR_FLAT
, top bars are flat and scrolling content has a
subtle undershoot shadow when touching them, same as the
.undershoot-top
style class. This works well for simple content, e.g. AdwStatusPage
,
AdwPreferencesPage
, or sidebars.
Undershoot shadow is only present if a top bar is actually present and
visible. It is also never present if
AdwToolbarView:extend-content-to-top-edge
is set to TRUE
.
If set to ADW_TOOLBAR_RAISED
, top bars have an opaque background and a
persistent shadow, this can be useful for more complex content, such as
utility panes or AdwTabView
.
See also AdwToolbarView:bottom-bar-style
.
Type: | AdwToolbarStyle |
Available since: | 1.4 |
Default value | ADW_TOOLBAR_FLAT |
Getter method | adw_toolbar_view_get_top_bar_style() |
Setter method | adw_toolbar_view_set_top_bar_style() |