On Tue, 2001-08-28 at 21:48, guigtk wrote:
Is there any way to get the text that i wrote in a GtkText?
With the (old) text widget you can use
gchar* gtk_editable_get_chars (GtkEditable *editable,
gint start_pos,
gint end_pos);
so to get all the text in 'text' you use
gchar *my_text = gtk_editable_get_chars (GTK_EDITABLE (text), 0, -1);
Not sure about the new text widget.
/mailund
--
Give a monkey a brain and he'll swear he's the center of the universe.
Attachment:
pgpU58onYrF1s.pgp
Description: PGP signature