summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-11-09 00:15:50 +0100
committerTomasz Chabora <kobewi4e@gmail.com>2019-11-09 00:15:50 +0100
commit5d618b0570741575bca0c7867ea6b4c57c0f5e26 (patch)
tree3ebb044e49272cf1f8c61c359bb15653d4a0be9c /doc
parent28294b1f1979e2c39423dab6767fa6b159841e7d (diff)
Clarify how to handle go back button on mobile
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/SceneTree.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/SceneTree.xml b/doc/classes/SceneTree.xml
index bd81a48ff5..b6e2303d2a 100644
--- a/doc/classes/SceneTree.xml
+++ b/doc/classes/SceneTree.xml
@@ -204,6 +204,7 @@
</argument>
<description>
If [code]true[/code], the application automatically accepts quitting. Enabled by default.
+ For mobile platforms, see [method set_quit_on_go_back].
</description>
</method>
<method name="set_group">
@@ -248,6 +249,7 @@
</argument>
<description>
If [code]true[/code], 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].
</description>
</method>
<method name="set_screen_stretch">