Menu

#3 Opening Florence from a Lazarus application

v1.0 (example)
open
nobody
opening (1)
5
2014-03-29
2013-12-28
No

I have just installed SUSE Linux (KDE) on an MSI touch PC. I installed Florence and it works really well. I am writing a full-screen application where occasionally I need user input. What I want to do is bring up Florence when the user selects a dialogue box. I am happy for the user to close the keyboard afterwards. Is there any way of bringing up Florence remotely?

Discussion

  • Francois Agrech

    Francois Agrech - 2013-12-29

    The behaviour of Florence in auto-hide mode is to show up when an editable widget is selected and hide itself when the widget looses the focus. This should work if the environment is properly configured and the toolkit you use supports AT-SPI. I'm not too familiar with Lazarus and I can't tell if it does support AT-SPI but gtk and java do. To make it work, some environment variables need to be set (depending on the toolkit) and the registry daemon must be running.
    Alternatively, you can tell Florence to show up from your application using the dbus interface.
    I'm not sure what is the best solution for your application but if you need more indepth information or any further help I can provide, please do not hesitate to contact me.

     
  • David Goadby

    David Goadby - 2014-03-29

    That sounds like it is possible which is great.I will check out At-SPI but, in the mean time, Where do I find the information on using the dbus to control florence?

     

Log in to post a comment.