Using a GtkIMContext



Hi!

I have written a trivial app (http://idefix.go-nix.ca/nix/im.c (54 lines))
that associates a newly created GtkIMMulticontext with a GtkTextView
widget's GdkWindow during the widget's "realize" event. It also connects
to the GtkIMContext's "commit" signal.

Unfortunately, the handler for the "commit" signal never gets called. To
be sure as to which input method actions cause the "commit" signal to be
emitted, I ran a program that uses VteTerminal through gdb and I placed a
breakpoint at VteTerminal's "commit" handler.

Unfortunately, those same actions do not cause my trivial app's "commit"
handler to be called.

Please tell me what I'm doing wrong!

TIA,



Gabriel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]