The code snippet you sent didn't work, but I don't think that has anything to 
do with the what is wrong... if I comment out the draw_array() call, 
everything is fine.

If anyone has ANY sample code showing draw_array() in action, please send me a 
pointer.

Thanks in advance!

-Doug

>===== Original Message From Prabhu Ramachandran <[EMAIL PROTECTED]> 
=====
>hi,
>
>>>>> "dblank" == dblank  <[EMAIL PROTECTED]> writes:
>
>class Example(GtkWindow):
>    def __init__(self):
>        win = GtkWindow()
>        win.connect("destroy", mainquit)
>
>shouldnt you be doing something like this instead?
>
>class Example(GtkWindow):
>    def __init__(self):
>       GtkWindow.__init__(self)
>       self.connect("destroy", mainquit)
>
>And replace win with self.  I dont know about the rest.
>
>prabhu



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to