summaryrefslogtreecommitdiff
path: root/doc/base
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-22 08:39:07 +0200
committerGitHub <noreply@github.com>2016-07-22 08:39:07 +0200
commitc57b992774251d239961524a2cc575427ac4f484 (patch)
tree65b3a30c04dd9b524411ebe0f89c7849c4bb2fe9 /doc/base
parenta812e15603702073b3e8ab1ce33b4cb315c00619 (diff)
parentec8c6e2c7c6689856a9a5547ece905339df994a8 (diff)
Merge pull request #5847 from 29jm/patch-3
Expose virtual keyboard functions to GDScript
Diffstat (limited to 'doc/base')
-rw-r--r--doc/base/classes.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 368a37f6f2..4f45ba9ee9 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -22721,6 +22721,18 @@
<description>
</description>
</method>
+ <method name="has_virtual_keyboard" qualifiers="const">
+ <return type="bool">
+ </return>
+ <description>
+ Returns true if the platform has a virtual keyboard, false otherwise.
+ </description>
+ </method>
+ <method name="hide_virtual_keyboard">
+ <description>
+ Hides the virtual keyboard if it is shown, does nothing otherwise.
+ </description>
+ </method>
<method name="is_debug_build" qualifiers="const">
<return type="bool">
</return>
@@ -23038,6 +23050,13 @@
<description>
</description>
</method>
+ <method name="show_virtual_keyboard">
+ <argument index="0" name="existing_text" type="String">
+ </argument>
+ <description>
+ Shows the virtual keyboard if the platform has one. The [i]existing_text[/i] parameter is useful for implementing your own LineEdit, as it tells the virtual keyboard what text has already been typed (the virtual keyboard uses it for auto-correct and predictions).
+ </description>
+ </method>
</methods>
<constants>
<constant name="DAY_SUNDAY" value="0">