Category Archives: PyGTK

Metaclasses & PyGObject

I recently ran into a long-standing bug in the Kiwi plugin for Gazpacho. I have this class in Kiwi: (simplified for explanation purposes) class KiwiEntry(gtk.Entry): gproperty(‘data_type’, object) def __init__(self, data_type): gtk.Entry.__init__(self) self.set_property(‘data_type’, data_type) This worked absolutely fine when you construct … Continue reading

Posted in GNOME, PyGTK, Python | Comments Off on Metaclasses & PyGObject

Introducing python-launcher

There have been a few complaints that it takes too long time to start up python programs, especially the ones which has been written to use GTK and other GNOME libraries. Yesterday I wrote a program called python-launcher, inspired by … Continue reading

Posted in olpc, PyGTK, Python | 7 Comments