[Gtk-sharp-list] .Data element is now obsolete

Sergio Duran Sergio Duran <sergioduran@gmail.com>
Thu, 10 Mar 2005 13:20:26 -0600


Hi everyone,

I'm using Gtk# 1.9.2 and .Data is obsolete, because it causes
instability, I know its because the objects can be Garbage collected
and then recreated later, from the C Pointer, my solution is to always
keep a reference to the Widgets when I need them, so they are not
garbage collected, but I would also like to know if there's some work
on progress in this area. Because I dont like using
obsolete/deprecated code.

Thanks.