ToolbarStyle

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

ADW_TOOLBAR_FLAT is suitable for simple content, such as class@StatusPage or class@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_TOOLBAR_RAISED style is suitable for content such as utility panes, where some elements are directly adjacent to the top/bottom bars, or class@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.

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

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

New values may be added to this enumeration over time.

Since

1.4

Entries

Link copied to clipboard

No background, shadow only for scrolled content

Link copied to clipboard

Opaque background with a persistent shadow

Link copied to clipboard

Opaque background with a persistent border

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.