Hi, I was studying how input methods work, as I need to integrate the hildon keyboard in ecore+etk. I believe we should use an approach similar to Gtk/Qt4. They have a similar approach to work with im modules, which IMHO should be a library independent of gtk/qt/ecore (freedesktop ^^) and everybody should use it. To take a look at details on how they do it see: http://www.kde.gr.jp/~asaki/how-to-support-input-method.html
Basically they have an interface where plugins for different input methods are implemented (XIM, SCIM, hildon-input-method, ...) and a api to use in applications, such as GtkEntry, ... I believe this is more extensible, portable way to integrate im support on ecore, among other things. What do you think? BR Andre On Nov 8, 2007 11:09 AM, Stafford Horne <[EMAIL PROTECTED]> wrote: > On Thu, 8 Nov 2007 11:12:41 +1100 > Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote: > > > as per IRC - lets just drop the preedit_type - lets just make it "callback" > > based (ie the ecore_x events to notify you of info from the IM and if you > > need > > to send anything - ecore_x calls to tell it stuff).otherwise looks ok to me. > > Thanks, > > One more change is that we will probably need to register some event data for > the callbacks. i.e. > > ecore_x_window_input_context_init(win, event_data); > > This way if you are processing events in your event loop you can have some > data to work with. The one thing left to worry about is asynchronous > processing of the event queue and out of order preedit events. > > > -Stafford > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Andre Moreira Magalhaes (andrunko) -------------------------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] Skype: andrunko Blog: http://andrunko.blogspot.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel