Enumeration

AdapToolbarStyle

since: 1.4

Declaration

enum Adap.ToolbarStyle

Description [src]

Describes the possible top or bottom bar styles in an AdapToolbarView widget.

ADAP_TOOLBAR_FLAT is suitable for simple content, such as AdapStatusPage or AdapPreferencesPage, 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

ADAP_TOOLBAR_RAISED style is suitable for content such as utility panes, where some elements are directly adjacent to the top/bottom bars, or AdapTabView, where each page can have a different background.

ADAP_TOOLBAR_RAISED_BORDER style is similar to ADAP_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 AdapToolbarView:top-bar-style and AdapToolbarView:bottom-bar-style.

New values may be added to this enumeration over time.

Available since: 1.4

Members

ADAP_TOOLBAR_FLAT

No background, shadow only for scrolled content.

  • Value: 0
  • Nickname: flat
  • Available since: 1.4
ADAP_TOOLBAR_RAISED

Opaque background with a persistent shadow.

  • Value: 1
  • Nickname: raised
  • Available since: 1.4
ADAP_TOOLBAR_RAISED_BORDER

Opaque background with a persistent border.

  • Value: 2
  • Nickname: raised-border
  • Available since: 1.4