Re: Capturing text from Gtktext widget,
- From: Martijn Bos <bos kamp wxs nl>
- To: "Sreenidhi.B.G" <nidhi ncoretech com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Capturing text from Gtktext widget,
- Date: Wed, 21 Nov 2001 23:16:10 +0100
Hi,
maybe you can use the function :
gchar * gtk_editable_get_chars(gtk_editable *, gint, gint)
Like this in code:
buffer = gtk_editable_get_char(GTK_EDITABLE(text-widget), s, e);
This function returns a pointer of gchar with the text of the text
widget. It starts reading at postion s. It will and reading at position
e. If you enter a negative value at e it will read all the text to the
end.
Best regards
Martijn
"Sreenidhi.B.G" wrote:
Hi,
can anyone tell me , how do I capture all the text entered in the
GtkText Widget, and write it to a buffer.
-regards,
sreenidhi,
_______________________________________________
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]