Function SceneTree.setQuitOnGoBack

If true, the application quits automatically on going back (e.g. on Android). Enabled by default. To handle 'Go Back' button when this option is disabled, use constant MainLoop.NOTIFICATION_WM_GO_BACK_REQUEST.

void setQuitOnGoBack (
  const(bool) enabled
) nothrow @nogc;