[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] Re: [MayaVi-users] IDE behavior [correction]
From:       Prabhu Ramachandran <prabhu_r () users ! sourceforge ! net>
Date:       2005-09-16 14:13:16
Message-ID: 17194.53292.212427.603733 () monster ! linux ! in
[Download RAW message or body]

>>>>> "Burkhard" == Burkhard Doliwa <doliwa@temf.tu-darmstadt.de> writes:

    Burkhard> Hi, using eric3 under windows 2000, I have found that
    Burkhard> tools using the Tkinter module do NOT work as expected
    Burkhard> when used from the debug probe shell. For instance,
    Burkhard> MayaVi does not redraw anything in the Tk windows
    Burkhard> launched.

    Burkhard> Is this related to a 'thread-safety' problem?

The problem is that Tkinter has its own mainloop, just like Qt and
these are unlikely to get along.  If you did something like so:

 import mayavi
 v = mayavi.mayavi()

you are likely to get Tkinter windows that never update.  One possible
way around this is to periodically call v.root.update() in order to
allow Tkinter to run its mainloop.  However, this might not work at
all and you might end up with errors or crashes.

cheers,
prabhu

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic