Hello, i've made an own spread sheet for database browsing being fed up with handling TreeIters, TreePaths, TreeSelections and so on. It uses numpy-array as models and gdk-methods for drawing on a gtk.DrawingArea. It works fine and i got complete control of rendering - for example: one thing gtk.CellRenderers cannot do is drawing a frame around a selected cell. And i could spare more than 15 percent of the lines from a module with 800 lines. One reason for not publishing it is, that properly this should be done with C, not python. Indeed i had to psycofy the code.
One disturbing issue is, that i need a new gc for every color i want for some rectangle or letter. Since drawing is always done with the foreground color. Thus i had to declare several gtk.gdk.GCs. But any gtk.Entries in the modules using such a spread sheet are performing very bad now. After typing one or more letter onto them they need around a second before they display the new text, while get_text() already returns the changed text. Is this a strange side-effect by any pooled objects ? Have similar effects seen by anyone before ? Cheers, Joost _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/