Add a LineEdit / TextEdit property to control whether the virtual keyboard should show on focus

This commit is contained in:
Fredia Huya-Kouadio 2025-05-05 20:21:43 -04:00
parent 1cf573f44d
commit f29feac7a5
6 changed files with 50 additions and 5 deletions

View file

@ -380,7 +380,10 @@
Base text writing direction.
</member>
<member name="virtual_keyboard_enabled" type="bool" setter="set_virtual_keyboard_enabled" getter="is_virtual_keyboard_enabled" default="true">
If [code]true[/code], the native virtual keyboard is shown when focused on platforms that support it.
If [code]true[/code], the native virtual keyboard is enabled on platforms that support it.
</member>
<member name="virtual_keyboard_show_on_focus" type="bool" setter="set_virtual_keyboard_show_on_focus" getter="get_virtual_keyboard_show_on_focus" default="true">
If [code]true[/code], the native virtual keyboard is shown on focus events on platforms that support it.
</member>
<member name="virtual_keyboard_type" type="int" setter="set_virtual_keyboard_type" getter="get_virtual_keyboard_type" enum="LineEdit.VirtualKeyboardType" default="0">
Specifies the type of virtual keyboard to show.