Implementing a GtkIMContext that displays a GtkTextView



Hello,

I implemented a GtkIMContext subclass (in fooimmodule.so) that opens
its own window, so far so good.
Then I tried to add a GtkTextView to this window but I faced the
following infinite cycle:

gtk_text_view_realize --> gtk_im_multicontext_get_slave -->
_gtk_im_module_create --> im_module_create (in fooimmodule.so) -->
foo_im_context_new --> foo_im_context_constructor -->
gtk_text_view_new --> ... --> gtk_text_view_realize --> loop :(

Does someone know how I could circumvent this infinite cycle ?

Regards,
Gregory


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