Sex, 2006-06-23 às 09:25 +0200, Paul Malherbe escreveu:
> Hi all
>
> Please could someone help me with this problem.
>
> Why does the following script, as per the faq, work under linux but not
> under windows.
>
> ------------------------------------------------------------------------------------------------------------------
> import sys
> import pygtk
> if sys.platform != "win32": pygtk.require("2.0")
> import gtk, gobject
>
> class MyWindow(gtk.Window):
> __gsignals__ = dict(\
> mywindo=(gobject.SIGNAL_RUN_LAST|gobject.SIGNAL_ACTION,None,(str,)))
put here:
gobject.type_register(MyWindow)
Regards,
--
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/