pub enum DocumentTabsStyle {
Automatic,
Strip,
Window,
TitleRow,
}Expand description
Where DocumentTabs show their tabs: in the window’s own chrome, or
in the content where they’re declared.
Variants§
Automatic
The platform’s own: the window’s on macOS and Windows (in the title bar, as Safari, Xcode and Terminal have them), a strip in the content on GNOME and KDE (as Console and Konsole).
Strip
A strip in the content, where they’re declared, on every platform: on macOS one the backend builds, as Safari’s is.
Window
The window’s own: a strip in AppKit’s title bar, under the title and toolbar, WinUI’s tab view in the title bar. GTK and Qt have none, so a strip.
TitleRow
In the title’s own row, beside the window’s buttons and toolbar items, the title hidden: Safari’s compact tabs on macOS, and on GNOME libadwaita’s tab bar in the header bar’s title’s place. WinUI’s tabs in the title bar already are; Qt has none, so a strip.