Re: EuGTK - GtkListStore - color?
- Posted by irv Sep 18, 2010
- 1442 views
Some years ago, for a short while, someone made a mistake and you could include a file more than once, with different "as" clauses, and it would create an independent set of variables each time. That was too good to last, so it was removed quickly. As far as I could tell, it worked fine. :(
The only way to do multiple lists now would be to do as you suggest, copy ListView.e under different names and include them 'as' xxx.
The reason for this is that the ListView code holds some variables & pointers which you don't want to overwrite. With a LOT of coding, I could probably figure out a way to associate different variables & pointers with different lists, but it seems like a lot of trouble with little benefit.