Posts Tagged ‘gtk’


23.05.2008

Gtk.TreeStore

posted by Karsten

in RedGloo

I think I've found an error in the Gtk library. I'm using a Gtk.TreeStore to store information, and as this could be many different kinds of objects I set the type to object. But nothing would work properly. I'd spent the better of 6 hours toying with all kinds of setting, before I tried changing the type to string and use the tostring on the different objects. Voila now it stores everything…

 

This is bizarre, because the documentation states that any object can be stored in the storage… At the moment I can't be fussed to look into the library to find the cause, but I write this merely so that I might remember 😉 

Share
Tags: ,