Flags¶
Details¶
- class Adw.TabViewShortcuts(value)¶
Bases:
GObject.GFlags
Describes available shortcuts in an [class`TabView`].
Shortcuts can be set with [property`TabView`:py:data::shortcuts<Adw.TabViewShortcuts.props.shortcuts>], or added/removed individually with [method`TabView`.add_shortcuts] and [method`TabView`.remove_shortcuts].
New values may be added to this enumeration over time.
New in version 1.2.
- NONE = 0¶
No shortcuts
- CONTROL_TAB = 1¶
<kbd>Ctrl</kbd>+<kbd>Tab</kbd> - switch to the next page
- ALT_DIGITS = 1024¶
<kbd>Alt</kbd>+<kbd>1</kbd>⋯<kbd>9</kbd> - switch to pages 1-9
- CONTROL_SHIFT_PAGE_DOWN = 128¶
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Page Down</kbd> - move the selected page forward
- CONTROL_HOME = 16¶
<kbd>Ctrl</kbd>+<kbd>Home</kbd> - switch to the first page
- CONTROL_SHIFT_TAB = 2¶
<kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>Tab</kbd> - switch to the previous page
- ALT_ZERO = 2048¶
<kbd>Alt</kbd>+<kbd>0</kbd> - switch to page 10
- CONTROL_SHIFT_HOME = 256¶
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Home</kbd> - move the selected page at the start
- CONTROL_END = 32¶
<kbd>Ctrl</kbd>+<kbd>End</kbd> - switch to the last page
- CONTROL_PAGE_UP = 4¶
<kbd>Ctrl</kbd>+<kbd>Page Up</kbd> - switch to the previous page
- ALL_SHORTCUTS = 4095¶
All of the shortcuts
- CONTROL_SHIFT_END = 512¶
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>End</kbd> - move the current page at the end
- CONTROL_SHIFT_PAGE_UP = 64¶
<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Page Up</kbd> - move the selected page backward
- CONTROL_PAGE_DOWN = 8¶
<kbd>Ctrl</kbd>+<kbd>Page Down</kbd> - switch to the next page