Skip to main content

Variable: AdwInlineViewSwitcher

const AdwInlineViewSwitcher: "AdwInlineViewSwitcher"

Defined in: generated/jsx.ts:16494

A view switcher that uses a toggle group.

inline-view-switcher

A view switcher showing pages of an ViewStack within an ToggleGroup, similar to ViewSwitcher.

The toggles can display either an icon, a label or both. Use the InlineViewSwitcher.display-mode to control this.

inline-view-switcher-display-modes

CSS nodes

AdwInlineViewSwitcher has a single CSS node with the name inline-view-switcher.

Style classes

Like AdwToggleGroup, it can accept the .flat and .round style classes.

inline-view-switcher-style-classes

Accessibility

The internal toggle group uses the GTK_ACCESSIBLE_ROLE_TAB_LIST role. Its toggles use the GTK_ACCESSIBLE_ROLE_TAB role.