Re: Saving a text to a file
- From: Mike <maddoc en com>
- To: PCc0d3r <pcc0d3r basari net tr>, gtk-app-devel-list gnome org
- Subject: Re: Saving a text to a file
- Date: Tue, 20 Mar 2001 18:03:49 -0500
Hello,
To get text from a text box the easiest way is to
gchar *my_text;
my_text = g_strdup(gtk_editable_get_chars(GTK_EDITABLE(text1), 0, -1));
The zero indicates the start position, the minus one is the end position,
meaning all the text.
You need to free my_text after you are done with it.
Hope this helps,
Mike
On Tuesday 20 March 2001 18:37, PCc0d3r wrote:
Hi,
How can i save a text from a text box (named text1) when clicked on a
button?
Please help me!
PCc0d3r
_______________________________________________
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]