Sets whether gestures and shortcuts for closing subpages are enabled.
The supported gestures are:
The keyboard back key is also supported, as well as the <kbd>Alt</kbd>+<kbd>←</kbd> shortcut.
For right-to-left locales, gestures and shortcuts are reversed.
the new value
Deprecated: Use adw.navigation_page.NavigationPage.setCanPop instead.
Has no effect for subpages added with adw.preferences_window.PreferencesWindow.pushSubpage.
Sets whether gestures and shortcuts for closing subpages are enabled.
The supported gestures are:
The keyboard back key is also supported, as well as the <kbd>Alt</kbd>+<kbd>←</kbd> shortcut.
For right-to-left locales, gestures and shortcuts are reversed.