« Return to Thread: Documentation

Re: Documentation

by Justin Regele :: Rate this Message:

Reply to Author | View in Thread

Yes, get Michael's book. I was also really lost until I got it.

I'm using IronPython Studio, but I'm not making any gui's, and I need to embed it in C# code, so that works for me. Like Michael said, it is very brittle. You must disable autocompletion otherwise it will destroy your python code, or at least make perfectly legitimate spacings uncompilable.

On Fri, Jun 26, 2009 at 9:38 AM, Brian Curtin <brian.curtin@...> wrote:
On Fri, Jun 26, 2009 at 09:54, Echavarria Gregory, Maria Angelica <m.echavarriagregory@...> wrote:
What to use for my GUI - very automatic please


M. Angelica Echavarria-Gregory, M.Sc., E.I.
Ph.D Candidate
University of Miami
Phone 305 284-3611

Although this is not "very automatic"...if you have Visual Studio, you can just create your GUI in the designer, then copy the code from YourForm.designer.cs into a YourForm.py file. Replace "this" with "self", get rid of any existence of "new", convert any true or false values to True or False, remove the semicolons (not required though), etc. A few find-and-replaces turns C# code into working Python code :)

Michael's suggestion of creating a class library may be more up your alley. His book does a great job of covering some GUI topics you may be interested in.

Brian

_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

 « Return to Thread: Documentation