:right-sidebar: True
ToolbarStyle
===================================================================
.. currentmodule:: gi.repository.Adw
.. versionadded:: 1.4
.. class:: ToolbarStyle
:no-contents-entry:
Describes the possible top or bottom bar styles in an :obj:`~gi.repository.Adw.ToolbarView`
widget.
``ADW_TOOLBAR_FLAT`` is suitable for simple content, such as
:obj:`~gi.repository.Adw.StatusPage` or :obj:`~gi.repository.Adw.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_TOOLBAR_RAISED`` style is suitable for content such as
`utility panes `__\,
where some elements are directly adjacent to the top/bottom bars, or
:obj:`~gi.repository.Adw.TabView`\, where each page can have a different background.
``ADW_TOOLBAR_RAISED_BORDER`` style is similar to ``ADW_TOOLBAR_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 :obj:`~gi.repository.Adw.ToolbarView.props.top_bar_style` and
:obj:`~gi.repository.Adw.ToolbarView.props.bottom_bar_style`\.
New values may be added to this enumeration over time.
Fields
------
.. rst-class:: interim-class
.. class:: ToolbarStyle
:no-index:
.. attribute:: FLAT
The type of the None singleton.
.. attribute:: RAISED
The type of the None singleton.
.. attribute:: RAISED_BORDER
The type of the None singleton.