Enabling virtual keyboard to enter the text/number as soon as Text box clicked.

Hello,

 

I have a requirement to enable the Virtual keyboard pop up as soon as text box clicked to enter the text, I tried to enable using the menuconfig but not able to do it.

System configuration as below:

I am using the RZG1M board, Yocto 2.0 build environment, In my application so many text boxes are there and application is developed using GTk.

 

How we can enable the virtual keyboard, in order to enter the text?

 

Regards,

Charan

  • Hi Charan,

    About showing the Weston virtual keyboard from a GTK application - I am not sure whether that is supported.

    A good example on how to show the virtual keyboard is the Weston editor client -
    build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/weston/1.9.0-r0/weston-1.9.0/clients/editor.c.

    You need to bind to the wl_text_input_manager in Weston and create a wl_text_input instance. After that, whenever you need to show or hide the virtual keyboard you send a 'show_input_panel' or 'hide_input_panel' event to that instance.

    I don't see any code in GTK+3 that performs these operations, that is why I don't think that Gtk has support for the virtual keyboard.

    Regards,
    Georgi

  • Hi Charan,

    Did Georgi's answer help you? Please confirm so that we can close this thread. Thank you!

    JB
    RenesasRulz Forum Moderator

    https://renesasrulz.com/
    https://academy.renesas.com/
    https://en-us.knowledgebase.renesas.com/

  • This thread will be archived due to inactivity.

    Mike Clements
    RenesasRulz Moderator