can_navigate_back


Description:

[ Version ( deprecated = true , deprecated_since = "1.4" ) ]
public bool can_navigate_back { get; set; }

Warning: can_navigate_back is deprecated since 1.4.

Whether gestures and shortcuts for closing subpages are enabled.

Note:

Use [property@NavigationPage:can-pop] instead.

Has no effect for subpages added with [method@PreferencesWindow.push_subpage].

The supported gestures are:

  • One-finger swipe on touchscreens
  • Horizontal scrolling on touchpads (usually two-finger swipe)
  • Back mouse button

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.