NavigationView.setPopOnEscape

void setPopOnEscape(bool popOnEscape)

Sets whether pressing Escape pops the current page on self.

Applications using adw.navigation_view.NavigationView to implement a browser may want to disable it.

Parameters

popOnEscapewhether to pop the current page when pressing Escape