Re: [gtk-list] Where or where does my data hath to go?



In message <Pine.GS4.4.02A.9910261028130.7653-100000@wyndham.cc.umanitoba.ca>yo
u write:
>Unfortunately blindly taking data onto an object won't work here... take
>for instance a gtk_entry widget.  The actual text/data must be saved
>somewhere and in order for it to persist it must be stored in some type of
>external data structure thereby affording one to copy the data on-destroy.
>
>Now maybe I missed the point but just tacking on the data to the object
>won't ensure the entry's value's persistence.
>

use gtk_*_add_data_full (..., pointer, functionToBeCalledOnDestroy)

i trust that the semantics are clear :)

--p



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