Adding onscreen keyboard in the application

I am using GTK3 to develop GUI and I have successfully created a application. But when a entry field is focused in the application, I want the on-screen keyboard to pop-up in my application.
So is it possible to bring the available Florence on_screen keyboard into my application? If not guide me with some other suggestions.

Regard,
S.Nishanth

hi @nishanth1829

I would suggest to look at this example, where you can call any commands for a specific entry field. So you could launch the Florence on-screen keyboard then.

The example is written, which you may adapt to the language of your choice.

Best regards,
Jaski

Dear jaski,
Will the same commmand “onboard” work for florence keyboard and i am using c language so popen need to be used?

onboard is the command for Ubuntu’s virtual keyboard, the command for Florence Keyboard is florence.

Thank you jaski i got it and can you please tell me how to add the keyboard inside a gtk window?
Regards,
S.Nishanth

hi @nishanth1829

Unfortunately we don’t have experience with that.

Best regards,
Jaski