Re: GtkTextBuffer:Compare text with those from GtkEntry

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

 



Le sam 26/06/2004 Ã 12:09, xiangbing a Ãcrit :
> Hi,
> I try to write a program to test typing speed.I decide to use a GtkEntry wiget to get the input .The text in GtkTextBuffer is presetted and is shown in a GtkTextView wiget.If user's input is the same to the text in GtkTextBuffer,those text will be underlined.
> 
> My trouble is I don't know how to compare the text encoding in UTF-8 format.I wonder if there are some documents about gtkUTF-8 somewhere .Or if anyone can give me a brief hints ,that makes good ,too .
> 
> Thanks,
>   xiangbing

GLib has some potentially useful functions. See
http://developer.gnome.org/doc/API/2.0/glib/glib-Unicode-Manipulation.html

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux