How is the text data been send to say GTK Entry in SCIM?

1 message Options
Embed this post
Permalink
Liu, Raymond

How is the text data been send to say GTK Entry in SCIM?

Reply Threaded More More options
Print post
Permalink
Hi
        Pardon me for the silly question.
        I just start to look into the Input method on Linux.
        I can see that SCIM using gtkimcontext to communicate with GTK widgets. While I read the API for GTKIMContext, I can see there are focus_in, focus_out etc. But I fail to see and API say send the text it self to the editable widget. So I am wondering how is this been done (Especially for CJK?)

Is that still need XIM protocol to send xevents to the X and then to GTK widget?
Or directly call the widget's method, something like GTKEntry.settext(xxx) ?

Can anyone kindly help me to understand it?

Best Regards,
Raymond Liu

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel