On Fri, Aug 02, 2002 at 01:46:14PM +0100, Thomas Leonard wrote:
>       try:
>               import gtk2 as gtk
>       except:
>               import gtk
>               assert gtk.Window

    except ImportError:

would be nicer, though :-)

> Then do this in each submodule:
> 
>       from __main__ import gtk
> 
> No problems :-)

It would be really nice if we did this. Actually, James, how about a
configure flag?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
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