Entry widgets & text pointers



I have a question about gtk_entry_get_text or equivalently
Gdk_Entry::get_text.  It returns a gchar *.  Is this a pointer into
something internal to the Entry widget structure?  Or is it a pointer to a
copy of the text?  In other words, am I free to modify the returned
string, and do I need to delete it?

If this is in the documentation somewhere, please point me to it.

Thanks,

-Rob

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
==== Rob Knop ===== rknop@lbl.gov ====== http://panisse.lbl.gov/~rknop ======



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