Getting the string from a gtktext?
- From: Antonio Martínez Álvarez <pascal eresmas net>
- To: gtk-devel <gtk-app-devel-list gnome org>
- Subject: Getting the string from a gtktext?
- Date: 08 Nov 2001 10:51:34 +0100
Hello.
I'm trying to obtain a string from a gtktext widget.
This is what I do:
gchar *cadena;
cadena = (gchar *) GTK_TEXT_INDEX(GTK_TEXT(texto),1);
But it doesn't work.
I have seen I must work with gtk_editable_getchars... and it really
works, but I would like to know why my example doesn't work.
--
Antonio Martínez Álvarez, <pascal eresmas net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]