Re: get text from GtkText

ZB wrote:

dont use the old one.

read the api at:

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
Syntax is

gchar *tmp;

tmp = gtk_editable_get_chars (GTK_EDITABLE(WIDGET), 0,

printf ("This is my text %s\n", tmp);


WIDGET is the widget you created.


Thank You!

Maciej Hrebien

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]