[Gtk-sharp-list] UserData element

Alex Graveley alex@beatniksoftware.com
Sun, 19 Dec 2004 15:08:22 -0800


BTW, can we please please please make .Data actually use the underlying
GObject calls, instead of faking it badly with it's own hashtable?  

This has bitten me several times already, and made Gtk features
inaccessible (Gtk.CellRendererText.Data ["xalign"]).

-Alex

On Fri, 2004-12-17 at 09:33 -0500, Dan Winship wrote:
> On Thu, 2004-12-16 at 14:40 -0800, Todd Berman wrote:
> > However, to solve all of your problems, all GObjects contain a .Data
> > property that is a Hashtable in which you can store that sort of
> > information if you need to.
> 
> However, if the object wrapper is destroyed and recreated, the .Data
> hash table won't be preserved. So that's no good either.
> 
> -- Dan
> 
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 
>