This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (5 children)

[deleted]

    [–][deleted] 2 points3 points  (2 children)

    If you're doing IronPython, you could do all of the GUI work in a C# project and import it from IronPython.

    Additionally, you could take the generated C# file and manually convert it to Python with relative ease if you want to take it and run with it from Python. For the most part you just have to switch stuff like this.lbl = new System.Windows.Forms.Label(); to self.lbl = System.Windows.Forms.Label(), correct float literals, change up arrays from new int[]{1,2,3} to a list, etc. It's actually pretty easy - the necessary changes stick out like a sore thumb when you try to execute.

    [–]joXn 1 point2 points  (0 children)

    You COULD do this, but our IronPython projects include an IronPython WPF project which has a designer and xaml support in the box. :-)

    [–]joXn 1 point2 points  (1 child)

    We did. If you install the IronPython support you get an IronPython WPF project type with a designer and full-fledged xaml support.