Re: get text from GtkText
- From: Maciej Hrebien <m_hrebien wp pl>
- To: gtk-app-devel-list gnome org
- Subject: Re: get text from GtkText
- Date: Thu, 30 Aug 2001 10:44:04 +0200
ZB wrote:
dont use the old one.
read the api at:
http://developer.gnome.org/doc/API/gtk/gtkeditable.html#GTK-EDITABLE-GET-CHARS
you want to use "gtk_editable_get_chars"
Will the new one Text Widget replace the current one in next versions
with the same name?? Or it will be called something new like
Gtk_new_Text?
Syntax is
gchar *tmp;
tmp = gtk_editable_get_chars (GTK_EDITABLE(WIDGET), 0,
-1)
printf ("This is my text %s\n", tmp);
g_free(tmp);
WIDGET is the widget you created.
Zev.
Thank You!
--
Maciej Hrebien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]