On Tue, Sep 2, 2008 at 4:10 AM, Simon Burton <[EMAIL PROTECTED]> wrote: > I'm not familiar with gtk, but this looks like VBox has a special > metaclass.. Not sure if cython supports this. You could try digging in > deeper and see what __gsignals__ invokes and instead doing it manually.... >
I believe Cython cannot support metaclases. Why? Because Cython first creates and empty class, and next add stuff to it; metaclases do not work in such scenario. However, I believe that this could be fixed, and create new classes following what Python does, that is, calling 'type(name, bases, namespace)' -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
