Hi,

Eero Tamminen schrieb:
>> Additionally to this, we have played around with midpath, a J2ME
>> implementation. Guillaume Legris from midpath wrote a gtk backend, for
>> it. Currently this effort hangs, because I don't get the key events from
>> the hildon/gtk libraries of the soft keyboard.
> 
> Have you disabled the automatic Hildon IM Gtk plugin loading somehow?
Not that I know. To get the input in an GtkEntry works, for example.
But on an input with the soft keyboard, no 'key-press-event' on the
GtkWindows is raised. (The hardware 5-key button raises the instead.)

For the midpath backend, I have only a GtkWindow with a GtkDrawingArea
in it. I have to get the key events to push them back to the java code.

At https://garage.maemo.org/snippet/browse.php?by=cat&cat=12
there is a snipped, to get the raw xlient messages
(_HILDON_IM_INSERT_UTF8) and create X events from their payload. But
isn't there a better solution within gtk?

> 
> All normally launched Gtk applications in the device should get it
> automatically:
> # pid=$(pidof maemo_af_desktop|cut -d' ' -f1)
> # grep hildon-im /proc/$pid/maps
> 41580000-41587000 r-xp 00000000 1f:04 2473
> /usr/lib/gtk-2.0/2.4.0/immodules/hildon-im-module.so
My result is:
41094000-4109a000 r-xp 00000000 1f:04 1989
/usr/lib/gtk-2.0/2.4.0/immodules/hildon-im-module.so
4109a000-410a1000 ---p 00006000 1f:04 1989
/usr/lib/gtk-2.0/2.4.0/immodules/hildon-im-module.so
410a1000-410a2000 rw-p 00005000 1f:04 1989
/usr/lib/gtk-2.0/2.4.0/immodules/hildon-im-module.so

Regards,
  Sebastian

-- 
tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH

Heilsbachstr. 24, 53123 Bonn    | Poststr. 4-5, 10178 Berlin
fon: +49(228) / 52675-0         | fon: +49(30) / 27594853
fax: +49(228) / 52675-25        | fax: +49(30) / 78709617
durchwahl: +49(228) / 52675-17  | mobil: +49(171) / 7673249

Geschäftsführer:
Boris Esser, Elmar Geese, Thomas Müller-Ackermann
HRB AG Bonn 5168
Ust-ID: DE122264941
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to