Re: [gtk-list] Entry widgets & text pointers




I think you need to make a strcpy and work with that. I think I tried to
modify it directly once (take it out, change it, and put it back) and I got
lots of pretty core files.

dave

>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 ======
>
>-- 
>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
--
You keep thinking I'm tired of you but I'm just tired.
While I keep saying you're sick of me but you're just sick.
	-Ned's Atomic Dustbin



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