Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to design a Windows Forms App with Iron Python

I just got Visual Studio 2013 RC with PTVS (Python Tools for Visual Studio). How would I use the Windows Forms Designer that Visual Studio has built in with Python? VS has an Iron Python template for WF, but there's no way to use the actual GUI designer. Is there any way to get the GUI designer functionality with python?

like image 622
ThatGuyJay Avatar asked Sep 29 '13 01:09

ThatGuyJay


People also ask

Can you use Windows Forms with Python?

They enable Python desktop applications to work together with WinForms controls. And more importantly, work together with the Telerik UI For WinForms suite and all the goodies that come out of the bag.

Can you make an app out of Python?

Python doesn't have built-in mobile development capabilities, but there are packages you can use to create mobile applications, like Kivy, PyQt, or even Beeware's Toga library. These libraries are all major players in the Python mobile space.


1 Answers

Python Tools for Visual Studio does not have a Windows Forms designer. You could take a look at SharpDevelop which does have a Windows Forms designer for IronPython. The other alternative would be to design your form in C# and then in your IronPython project use that form as the base class for your IronPython class.

like image 58
Matt Ward Avatar answered Nov 03 '22 00:11

Matt Ward