Sounds interesting--I'd like to hear more. wxPython is a big pain for me and your solution looks a lot simpler.<br><br>+1<br><br>- Atul<br><br><div><span class="gmail_quote">On 4/3/07, <b class="gmail_sendername">Feihong Hsu
</b> <<a href="mailto:hsu.feihong@yahoo.com">hsu.feihong@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I was thinking about preparing a presentation on Boo in the context
<br>of Microsoft's XNA game development framework, but I haven't had time<br>to look into XNA yet. However, if people are interested, I could<br>give a short introduction to Boo (Boo is a statically compiled<br>language for .NET and Mono that has Python-like syntax).
<br><br><br>In the past month I've had to do a lot of GUI development, and I<br>created my own library for Windows Forms that uses a declarative<br>syntax similar to the Breve template engine. Basically, the syntax<br>
for a form (frame) could be written as a single expression:<br><br>Form[<br> # Text box that takes up all available space in the middle:<br> TextBox(Dock=DockStyle.Fill, Name='content'),<br><br> # Button panel at the top:
<br> HBox(Dock=DockStyle.Top)[<br> Button(Text='Open'),<br> Button(Text='Save'),<br> ],<br><br> # List box at the bottom:<br> ListBox(Dock=DockStyle.Bottom, Name='sections')[
<br> 'section 1',<br> 'section 2',<br> 'section 3',<br> ],<br>]<br><br>The above is pure Python syntax that you could just paste into the<br>interactive interpreter. I don't know how readable that is to people
<br>who don't do GUI programming, but it's a heck of a lot better than<br>the normal API for Windows Forms.<br><br>Personally, I don't want to go into Windows Forms too much unless<br>people wanted that. I would mostly just talk about how I implemented
<br>the library so that people could do the same thing for other GUI<br>libraries like PyGTK and wxPython.<br><br>- Feihong<br><br><br><br><br><br><br>____________________________________________________________________________________
<br>No need to miss a message. Get email on-the-go<br>with Yahoo! Mail for Mobile. Get started.<br><a href="http://mobile.yahoo.com/mail">http://mobile.yahoo.com/mail</a><br>_______________________________________________
<br>Chicago mailing list<br><a href="mailto:Chicago@python.org">Chicago@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/chicago">http://mail.python.org/mailman/listinfo/chicago</a><br></blockquote></div>
<br>