Hi,

what do I have to do, to get all key events of an GtkWindow in maemo?

With the following code I raise up a blank window and the soft-keyboard.
But neither the 'key-press-event' nor the 'commit' seems to produce any
events. On my host machine, the 'key-press-event' works fine.

Regards,
  Sebastian

window = HILDON_WINDOW(hildon_window_new());
gtk_signal_connect (GTK_OBJECT (window), "key-press-event",
                        GTK_SIGNAL_FUNC(key_event), NULL);
..
im_context = gtk_im_multicontext_new();
gtk_im_context_set_client_window(im_context, (GdkWindow *)window);
g_signal_connect (im_context, "commit",
                        G_CALLBACK (commit_text), window);
gtk_im_context_reset (im_context);
hildon_gtk_im_context_show(im_context);





-- 
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