[ Version ( deprecated = true , deprecated_since = "1.4" ) ]
public void set_can_navigate_back (bool can_navigate_back)
Warning: set_can_navigate_back is deprecated since 1.4.
Sets whether gestures and shortcuts for closing subpages are enabled.
Use [method@NavigationPage.set_can_pop] instead.
Has no effect for subpages added with [method@PreferencesWindow.push_subpage].
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.
this |
a preferences window |
can_navigate_back |
the new value |