<div>Thank you Martin.&nbsp; That explains the &quot;from avalon import *&quot; part of his demo as well :)</div>
<div>&nbsp;</div>
<div>Stokes<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 11/3/05, <b class="gmail_sendername">Martin Maly</b> &lt;<a href="mailto:Martin.Maly@microsoft.com">Martin.Maly@microsoft.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2">The reason for this is that the console thread is waiting for console input and does not pump messages (necessary to redraw the windows).</font>
</span></div>
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2">Check out the tutorial we shipped with IronPython 0.9.4. There is file &quot;avalon.py&quot; in the tutorial directory. in your console do:</font>
</span></div>
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2">from avalon import *</font></span></div>
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2">The avalon.py sets up the console to run message pump and things will work.</font></span></div>
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Verdana" color="#800000" size="2">Martin</font></span></div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:users-bounces@lists.ironpython.com" target="_blank">
users-bounces@lists.ironpython.com</a>] <b>On Behalf Of </b>Michael Stokesbary<br><b>Sent:</b> Thursday, November 03, 2005 9:16 PM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:users@lists.ironpython.com" target="_blank">
users@lists.ironpython.com</a><br><b>Subject:</b> [IronPython] Interactive WinFX design with IronPython<br></font><br>&nbsp;</div>
<div><span class="e" id="q_10759b799e643a02_1">
<div></div>
<div>Hey all -</div>
<div>&nbsp;</div>
<div>I was just wondering if anyone got the chance to see Jim's PDC 05 presentation dealing with the .NET CLR and dynamic languages.&nbsp; In the presentation, he was able to interactively create a WinFX window and add components to it on the fly.&nbsp; I have tried doing this myself only to run in to issues.&nbsp; I do the following: 
</div>
<div>&nbsp;</div>
<div>w = System.Windows.Window()</div>
<div>w.Show()</div>
<div>&nbsp;</div>
<div>And after doing this, the window does appear, but it seems to be in a blocking state.&nbsp; Then as I add components to it, nothing gets rendered.&nbsp; In Jim's presentation, he was able to call w.Show(), then add a button, then resize the window and just modify it on the fly.&nbsp; Has anyone else been able to do something like this?&nbsp; I am using IronPython 
0.9.4 on the .NET framework version 2.0.50215.322 and the September release of WinFX.&nbsp; Yes, I can create the whole window and add all the components and then call ShowDialog() and all works fine (the command prompt is blocked, but at least I can interact with the window).&nbsp; If I just call .Show(), the command prompt is still active, but the window is useless. 
</div>
<div>&nbsp;</div>
<div>Any ideas?</div>
<div>&nbsp;</div>
<div>Stokes</div></span></div><br>_______________________________________________<br>users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:users@lists.ironpython.com">users@lists.ironpython.com
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br><br>
<br></blockquote></div><br>