From 92352b1c2374d6dda80eda7536b925ac111f94af Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Thu, 11 Jun 2020 12:27:07 +0300 Subject: Add keyboard layout enumeration / set / get functions (macOS, Windows, Linux/X11), remove latin variant function. --- doc/classes/DisplayServer.xml | 66 ++++++++++++++++++++++++++++++------------- 1 file changed, 46 insertions(+), 20 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index 7fe712753c..f8306cbd72 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -127,12 +127,6 @@ - - - - - - @@ -389,6 +383,52 @@ + + + + + Returns active keyboard layout index. + [b]Note:[/b] This method is implemented on Linux, macOS and Windows. + + + + + + + Returns the number of keyboard layouts. + [b]Note:[/b] This method is implemented on Linux, macOS and Windows. + + + + + + + + + Returns the ISO-639/BCP-47 language code of the keyboard layout at position [code]index[/code]. + [b]Note:[/b] This method is implemented on Linux, macOS and Windows. + + + + + + + + + Returns the localized name of the keyboard layout at position [code]index[/code]. + [b]Note:[/b] This method is implemented on Linux, macOS and Windows. + + + + + + + + + Sets active keyboard layout. + [b]Note:[/b] This method is implemented on Linux, macOS and Windows. + + @@ -1021,20 +1061,6 @@ - - - - - - - - - - - - - - -- cgit v1.2.3