adw.tab_view.TabView is a container which shows one child at a time. While it
provides keyboard shortcuts for switching between pages, it does not provide
a visible tab switcher and relies on external widgets for that, such as
class@TabBar, class@TabOverview and class@TabButton.
adw.tab_view.TabView only aims to be useful for dynamic tabs in multi-window
document-based applications, such as web browsers, file managers, text
editors or terminals. It does not aim to replace gtk.notebook.Notebook for use
cases such as tabbed dialogs.
As such, it does not support disabling page reordering or detaching.
adw.tab_view.TabView adds a number of global page switching and reordering shortcuts.
The property@TabView:shortcuts property can be used to manage them.
See flags@TabViewShortcuts for the list of the available shortcuts. All of
the shortcuts are enabled by default.
A dynamic tabbed container.
adw.tab_view.TabView is a container which shows one child at a time. While it provides keyboard shortcuts for switching between pages, it does not provide a visible tab switcher and relies on external widgets for that, such as class@TabBar, class@TabOverview and class@TabButton.
adw.tab_view.TabView maintains a class@TabPage object for each page, which holds additional per-page properties. You can obtain the adw.tab_page.TabPage for a page with adw.tab_view.TabView.getPage, and as the return value for adw.tab_view.TabView.append and other functions for adding children.
adw.tab_view.TabView only aims to be useful for dynamic tabs in multi-window document-based applications, such as web browsers, file managers, text editors or terminals. It does not aim to replace gtk.notebook.Notebook for use cases such as tabbed dialogs.
As such, it does not support disabling page reordering or detaching.
adw.tab_view.TabView adds a number of global page switching and reordering shortcuts. The property@TabView:shortcuts property can be used to manage them.
See flags@TabViewShortcuts for the list of the available shortcuts. All of the shortcuts are enabled by default.
adw.tab_view.TabView.addShortcuts and adw.tab_view.TabView.removeShortcuts can be used to manage shortcuts in a convenient way, for example:
CSS nodes
adw.tab_view.TabView has a main CSS node with the name tabview.
Accessibility
adw.tab_view.TabView uses the gtk.types.AccessibleRole.TabPanel for the tab pages which are the accessible parent objects of the child widgets.