TabView.setShortcuts

void setShortcuts(adw.types.TabViewShortcuts shortcuts)

Sets the enabled shortcuts for self.

See flagsTabViewShortcuts 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] provide a convenient way to manage individual shortcuts.

Parameters

shortcutsthe new shortcuts