I am using PyGObject to create an UI that will be run on a 7" official RPi touchscreen connected to a Pi 3 running Raspbian. As part of this interface, the UI will need an on-screen keyboard. I am aware of two virtual keyboard programs for the Pi: Matchbox Keyboard and Florence.
The problem is that I want to imitate the behavior of a smartphone keyboard as much as possible, but don't know how to do so. What I want to do is similar to this, except I want the keyboard to auto-hide and to be on top of the main window. How can this be done?
EDIT: I've tried both of these programs and haven't been able to figure out how to achieve this. I can't find an auto-popup option in Matchbox Keyboard, and some people report that it has this capability (here), others say no (here). I assume that some Linux desktop managers support this feature, but not LXDE on the Pi.
Florence seems promising because it has an auto-hide option that sounds like it would do what I want, but when I selected it didn't seem to work.