Re: How to get the preedit character from TextView?
- From: amol <amolgkulkarni gmail com>
- To: KwangYul Seo <kwangyul seo gmail com>
- Cc: gtk-app-devel-list gnome org, chameleo-dev googlegroups com
- Subject: Re: How to get the preedit character from TextView?
- Date: Sun, 30 Mar 2008 13:10:04 +0530
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]