Re: How to get the preedit character from TextView?



Hi 
Try this 

gtk_im_context_get_preedit_string (GTK_TEXT_VIEW
(text_view)->im_context, &preedit_string, NULL,
                       &cursor_pos); 

. 
<do what u want with preedit string>
.
gtk_im_context_reset (GTK_TEXT_VIEW (text_view)->im_context);

Regards,
Amol
On Fri, 2008-03-28 at 12:33 +0900, KwangYul Seo wrote:

Hi,

I can get the text string from TextView,
but I can't get the last character in preedit mode before it commits.

Is it possible to get the character in preedit mode from TextView?

Thanks,
Kwang Yul Seo
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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