![featuredImage2 → Python GUI featuredimage2 4](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/03/featuredImage2-9015423.png?resize=1140%2C675&ssl=1)
BiDiKeyboard property or DelphiVCL.Application.BiDiKeyboard is used to specify the name of the keyboard map that should be used in middle-east locales when text reads from right to left.
This name is a string composed of the hexadecimal value of the language identifier (low word) and a device identifier (high word). For example, Saudi Arabian Arabic has a language identifier of 0x0401, so its primary layout is named “00000401”.
This keyboard layout is only used when the application runs in a middle eastern locale and the value of BiDiMode indicates that text should be read from right to left.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.BiDiKeyboard using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.BiDiKeyboard) |
See the responses in our Windows command prompt:
![0dir8766390 → Python GUI 0dir 8766390](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/05/0dir-8766390.png?resize=685%2C245&ssl=1)
You can also read short information about the DelphiVCL.Application.BiDiKeyboard using the print() command:
1 2 |
print(DelphiVCL.Application.BiDiKeyboard) print(DelphiVCL.Application.BiDiKeyboard.__doc__) |
See the responses in our Windows command prompt:
![0print7647395 → Python GUI 0print 7647395](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/05/0print-7647395.png?resize=685%2C243&ssl=1)
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.