Hi marslee
>I am developing an onscreen keyboard. I plan to make keyboard can show >itself when end-user click editable field such as edit line, but I don't >know how to do that. I think in SCIM there has similar function. I >download source code of SCIM, but I am a layman about input method ,which >part of scim should I research? in which file or which function implement >the requirement.
Actually, I think this is more about IMContext. Say you are working with GTK, Then GtkIMContext will call focus_in function of the IMContext. What you need to do is to implement your IMContext module for GTK and do the magic thing in the focus_in function, if your onscreen keyboard is an standalone app and not part of the existing Input Method.
And I guess you can read the GtkIMContext API and some simple sample code to gain more knowledge into this. For example the imcontext related code in matchbox-keyboard.
Raymond
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial.
http://p.sf.net/sfu/www-adobe-com_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel