Click or drag to resize

OSShowVirtualKeyboard Method

Shows the virtual keyboard if the platform has one.

The existing_text parameter is useful for implementing your own LineEdit or TextEdit, as it tells the virtual keyboard what text has already been typed (the virtual keyboard uses it for auto-correct and predictions).

The multiline parameter needs to be set to true to be able to enter multiple lines of text, as in TextEdit.

Note: This method is implemented on Android, iOS and UWP.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void ShowVirtualKeyboard(
	string existingText = "",
	bool multiline = false
)

Parameters

existingText (Optional)
Type: SystemString

[Missing <param name="existingText"/> documentation for "M:Godot.OS.ShowVirtualKeyboard(System.String,System.Boolean)"]

multiline (Optional)
Type: SystemBoolean

[Missing <param name="multiline"/> documentation for "M:Godot.OS.ShowVirtualKeyboard(System.String,System.Boolean)"]

See Also