Hello,

I've been enjoying using IronPython.

I'm now going to embed it in my C# WinForms application to provide a way for 
users to perform simple ad-hoc scripting. Unfortunately this has been less easy 
than I thought it would be!

I've built a subclass of TextBox that I can use to display and input the text 
coming to/from my user. Now I just need to connect it to a PythonEngine.

In the article at 
http://blogs.msdn.com/jmstall/archive/2005/09/01/Howto_embed_ironpython.aspx, 
one gets the impression that a PythonEngine has a MyConsole property where one 
can connect an IConsole. Perfect! Unfortunately, that's not the case on my 1.1 
build.

Digging through the source I find that this stuff exists on IronPythonConsole, 
but that class appears to be designed for use statically.

Before I go to the trouble of ripping apart IronPythonConsole and likely 
reinventing the wheel, is there something I'm missing here?

Thanks,

jon

________________________________
Arrowgrass Capital Partners (US) LP is a limited partnership registered in the 
State of Delaware.

This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any transmission errors. If you receive this message in 
error, please immediately delete it and all copies of it from your system, 
destroy any hard copies of it and notify the sender. You must not, directly or 
indirectly, use, disclose, distribute, print, or copy any part of this message 
if you are not the intended recipient.
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to