Enumeration (GI Enum)

Adw-1AdwToolbarStyleSince 1.4

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.

toolbar-view-flat-1 toolbar-view-flat-2

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.

-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.

toolbar-view-raised toolbar-view-raised-border

See ToolbarView.top_bar_style and ToolbarView.bottom_bar_style.

New values may be added to this enumeration over time.

1.4

Index

Enumeration Members

Enumeration Members

FLAT: number

No background, shadow only for scrolled content

RAISED: number

Opaque background with a persistent shadow

RAISED_BORDER: number

Opaque background with a persistent border

Variables

$gtype