Walter Anger wrote:
On Sun, 15 Feb 2004 19:06:10 +1100
Russell Shaw <[EMAIL PROTECTED]> wrote:

Hi,

In a class, i have:

self.window=gtk.Window(gtk.WINDOW_TOPLEVEL)

Later on, there is:

  if(self.window)
    self.window.destroy()

I get an error:

  File "db.py", line 82
      if(self.window)

maybe you forgot the colon;)

Oops, too much C;) (i just learnt python) _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to