[IronPython] Fwd: Locked thread?
Gerard Braad Jr.
me at gbraad.nl
Mon Dec 18 03:53:20 PST 2006
Hello,
When I normally use IronPython I have no problems (as embedded or running
scripts) I have no problem. Even in interactive mode it is good. Although
some issues arise when I use Windows Forms or Presentation Framework in
interactive mode. It seems the graphics thread locks all others. So when I
do the following...
>>> from wpf import *
>>> w = Window()
>>> w.Show()
>>> b = Button()
>>> b.Content = "Tickle me..."
>>> w.Content = b
>>> w.Close()
... no window is shown and the taskbar of windows is blocked until the last
Close() statement. Does this have to do with the Thread Apartment IronPython
is running in?
thanks,
Gerard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20061218/c4e5e848/attachment.html
More information about the users
mailing list