If the pages are too tall or too wide, the thumbnails will be cropped; use
property@TabPage:thumbnail-xalign and property@TabPage:thumbnail-yalign to
control which part of the page should be visible in this case.
Pinned tabs are shown as smaller cards without thumbnails above the other
tabs. Unlike in class@TabBar, they still have titles, as well as an unpin
button.
adw.tab_overview.TabOverview provides search in open tabs. It searches in tab titles and
tooltips, as well as property@TabPage:keyword.
If property@TabOverview:enable-new-tab is set to TRUE, a new tab button
will be shown. Connect to the signal@TabOverview::create-tab signal to use
it.
property@TabOverview:secondary-menu can be used to provide a secondary menu
for the overview. Use it to add extra actions, e.g. to open a new window or
undo closed tab.
adw.tab_overview.TabOverview is intended to be used as the direct child of the window,
with the rest of the window contents set as the property@TabOverview:child.
The child is expected to contain an class@TabView.
adw.tab_overview.TabOverview shows window buttons by default. They can be disabled by
setting property@TabOverview:show-start-title-buttons and/or
property@TabOverview:show-start-title-buttons and/or
property@TabOverview:show-end-title-buttons to FALSE.
If search and window buttons are disabled, and secondary menu is not set, the
header bar will be hidden.
adw.tab_overview.TabOverview defines the overview.open and overview.close actions for
opening and closing itself. They can be convenient when used together with
class@TabButton.
A tab overview for class@TabView.
<picture> <source srcset="tab-overview-dark.png" media="(prefers-color-scheme: dark)"> <img src="tab-overview.png" alt="tab-overview"> </picture>
adw.tab_overview.TabOverview is a widget that can display tabs from an adw.tab_view.TabView in a grid.
adw.tab_overview.TabOverview shows a thumbnail for each tab. By default thumbnails are static for all pages except the selected one. They can be made always live by setting property@TabPage:live-thumbnail to TRUE, or refreshed with adw.tab_page.TabPage.invalidateThumbnail or adw.tab_view.TabView.invalidateThumbnails otherwise.
If the pages are too tall or too wide, the thumbnails will be cropped; use property@TabPage:thumbnail-xalign and property@TabPage:thumbnail-yalign to control which part of the page should be visible in this case.
Pinned tabs are shown as smaller cards without thumbnails above the other tabs. Unlike in class@TabBar, they still have titles, as well as an unpin button.
adw.tab_overview.TabOverview provides search in open tabs. It searches in tab titles and tooltips, as well as property@TabPage:keyword.
If property@TabOverview:enable-new-tab is set to TRUE, a new tab button will be shown. Connect to the signal@TabOverview::create-tab signal to use it.
property@TabOverview:secondary-menu can be used to provide a secondary menu for the overview. Use it to add extra actions, e.g. to open a new window or undo closed tab.
adw.tab_overview.TabOverview is intended to be used as the direct child of the window, with the rest of the window contents set as the property@TabOverview:child. The child is expected to contain an class@TabView.
adw.tab_overview.TabOverview shows window buttons by default. They can be disabled by setting property@TabOverview:show-start-title-buttons and/or property@TabOverview:show-start-title-buttons and/or property@TabOverview:show-end-title-buttons to FALSE.
If search and window buttons are disabled, and secondary menu is not set, the header bar will be hidden.
Actions
adw.tab_overview.TabOverview defines the overview.open and overview.close actions for opening and closing itself. They can be convenient when used together with class@TabButton.
CSS nodes
adw.tab_overview.TabOverview has a single CSS node with name taboverview.