On Sep 1, 2008, at 11:51 AM, Christoph Würstle wrote:

> Hi,
> I'm new to cython and try to optimize a gtk program. So far I'm really
> impressed how easy it is.
> So far I ask me two things:
> First, does anyone has experience in the speedup of gtk apps?
> And second, how can I translate my own signals to cython code?
>
> In Python I write:
>
> class myClass(gtk.VBox):
>     __gsignals__ = {
>             'mysignal' : (gobject.SIGNAL_RUN_LAST,
> gobject.TYPE_NONE,(gobject.TYPE_STRING,gobject.TYPE_STRING)),
>     }
>
> and Cython does not complain when 'compiling', but I can't connect  
> to it:
>
> TypeError: <GtkProgramName object at 0x8482054 (GtkProgramModul at
> 0x8588100)>: unknown signal name: mysignal
>
> Thanks a lot for your help.
> Chris

I'm not sure--this code works in Python but not in Cython?

- Robert


_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to