diff options
author | Johan Manuel <johan.manuel@live.fr> | 2016-07-21 23:58:58 +0200 |
---|---|---|
committer | Johan Manuel <johan.manuel@live.fr> | 2016-07-21 23:58:58 +0200 |
commit | ec8c6e2c7c6689856a9a5547ece905339df994a8 (patch) | |
tree | 356a1d8929fe4af0252c1272e84fb35d7a8926b3 /doc/base | |
parent | ad55c63918bee55c84c2be9aff27f348c267d93e (diff) |
Expose virtual keyboard functions to GDScript
Diffstat (limited to 'doc/base')
-rw-r--r-- | doc/base/classes.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index b8156133de..be0a0078fc 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> @@ -23033,6 +23045,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"> |