Re: [IronPython] IDLE like functionality

2009-04-30 Thread Harriv
 Davy,

 Thanks.IronTextBox is just what I needed. It needed some minor
changes to get running on latest IronPython version but so far looking
good.

On Wed, Apr 29, 2009 at 2:44 PM, Michael Foord
fuzzy...@voidspace.org.uk wrote:

 There is also IronTextBox which is an IronPython console in a Windows Forms
 TextBox

 You will probably need to update it for 2.0.1 but it is probably what you
 want.

 http://www.codeproject.com/KB/edit/irontextbox2.aspx

 Michael

 Davy

 On Wed, Apr 29, 2009 at 9:21 AM, Harriv har...@gmail.com wrote:


 Hi,
  A beginner's question: Is there a tutorial/demo/sample project to show
 how
 embed IDLE like functionality in C# WinForms application?
  So basically I'd like to add interactive command line to my application,
 but of course all other features of IDLE (eg debugging, code editors etc)
 must be left out.
 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




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



 --
 http://www.ironpythoninaction.com/

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

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


[IronPython] IDLE like functionality

2009-04-29 Thread Harriv
Hi,
 A beginner's question: Is there a tutorial/demo/sample project to show how
embed IDLE like functionality in C# WinForms application?
 So basically I'd like to add interactive command line to my application,
but of course all other features of IDLE (eg debugging, code editors etc)
must be left out.
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] IDLE like functionality

2009-04-29 Thread Davy Mitchell
Hi Harriv,

You could start by looking at
http://www.ironpython.info/index.php/Contents#Tools_and_Utilities

There's a couple of web and desktop IronPython shells there.

Davy

On Wed, Apr 29, 2009 at 9:21 AM, Harriv har...@gmail.com wrote:
 Hi,
  A beginner's question: Is there a tutorial/demo/sample project to show how
 embed IDLE like functionality in C# WinForms application?
  So basically I'd like to add interactive command line to my application,
 but of course all other features of IDLE (eg debugging, code editors etc)
 must be left out.
 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


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


Re: [IronPython] IDLE like functionality

2009-04-29 Thread Michael Foord

Davy Mitchell wrote:

Hi Harriv,

You could start by looking at
http://www.ironpython.info/index.php/Contents#Tools_and_Utilities

There's a couple of web and desktop IronPython shells there.
  


There is also IronTextBox which is an IronPython console in a Windows 
Forms TextBox


You will probably need to update it for 2.0.1 but it is probably what 
you want.


http://www.codeproject.com/KB/edit/irontextbox2.aspx

Michael

Davy

On Wed, Apr 29, 2009 at 9:21 AM, Harriv har...@gmail.com wrote:
  

Hi,
 A beginner's question: Is there a tutorial/demo/sample project to show how
embed IDLE like functionality in C# WinForms application?
 So basically I'd like to add interactive command line to my application,
but of course all other features of IDLE (eg debugging, code editors etc)
must be left out.
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




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



--
http://www.ironpythoninaction.com/

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


Re: [IronPython] IDLE like functionality

2009-04-29 Thread Vernon Cole
Actually, the code editor for IDLE (and pythonwin) is written in
Python, so no, it does not have to be left out.  Since pythonwin is a
native WinForms application, it would be a great example project for
how to do it.  If pywin32 were ported to IronPython it would  be done.

On Wed, Apr 29, 2009 at 2:21 AM, Harriv har...@gmail.com wrote:
 Hi,
  A beginner's question: Is there a tutorial/demo/sample project to show how
 embed IDLE like functionality in C# WinForms application?
  So basically I'd like to add interactive command line to my application,
 but of course all other features of IDLE (eg debugging, code editors etc)
 must be left out.
 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


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


Re: [IronPython] IDLE like functionality

2009-04-29 Thread Michael Foord

Vernon Cole wrote:

Actually, the code editor for IDLE (and pythonwin) is written in
Python, so no, it does not have to be left out.


IDLE uses Tkinter - which theoretically *might* work under Ironclad but 
unless there is a managed version of Tk/Tcl no-one is likely to port it.



  Since pythonwin is a
native WinForms application, 

PythonWin does not use Windows Forms it uses win32.

Michael

it would be a great example project for
how to do it.  If pywin32 were ported to IronPython it would  be done.

On Wed, Apr 29, 2009 at 2:21 AM, Harriv har...@gmail.com wrote:
  

Hi,
 A beginner's question: Is there a tutorial/demo/sample project to show how
embed IDLE like functionality in C# WinForms application?
 So basically I'd like to add interactive command line to my application,
but of course all other features of IDLE (eg debugging, code editors etc)
must be left out.
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




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



--
http://www.ironpythoninaction.com/

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


Re: [IronPython] IDLE like functionality

2009-04-29 Thread Curt Hagenlocher
Eagle is a managed version of TCL (that's also hosted on Codeplex) but I
doubt that the more-important Tk part is there :).

On Wed, Apr 29, 2009 at 6:24 AM, Michael Foord fuzzy...@voidspace.org.ukwrote:

 Vernon Cole wrote:

 Actually, the code editor for IDLE (and pythonwin) is written in
 Python, so no, it does not have to be left out.


 IDLE uses Tkinter - which theoretically *might* work under Ironclad but
 unless there is a managed version of Tk/Tcl no-one is likely to port it.

   Since pythonwin is a
 native WinForms application,

 PythonWin does not use Windows Forms it uses win32.

 Michael

 it would be a great example project for
 how to do it.  If pywin32 were ported to IronPython it would  be done.

 On Wed, Apr 29, 2009 at 2:21 AM, Harriv har...@gmail.com wrote:


 Hi,
  A beginner's question: Is there a tutorial/demo/sample project to show
 how
 embed IDLE like functionality in C# WinForms application?
  So basically I'd like to add interactive command line to my application,
 but of course all other features of IDLE (eg debugging, code editors etc)
 must be left out.
 ___
 Users mailing list
 Users@lists.ironpython.com
 http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




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




 --
 http://www.ironpythoninaction.com/


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

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


Re: [IronPython] IDLE like functionality

2009-04-29 Thread Vernon Cole
On Wed, Apr 29, 2009 at 7:24 AM, Michael Foord
fuzzy...@voidspace.org.uk wrote:
 Vernon Cole wrote:

 Actually, the code editor for IDLE (and pythonwin) is written in
 Python, so no, it does not have to be left out.

  Since pythonwin is a
 native WinForms application,

 PythonWin does not use Windows Forms it uses win32.

 Michael


Errr, Ummm, I didn't know there was a difference.
Please educate me. (supply links if helpful)
The longer I spend in this industry, the more I discover I don't know.
--
VC
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


Re: [IronPython] IDLE like functionality

2009-04-29 Thread Michael Foord

Vernon Cole wrote:

On Wed, Apr 29, 2009 at 7:24 AM, Michael Foord
fuzzy...@voidspace.org.uk wrote:
  

Vernon Cole wrote:


Actually, the code editor for IDLE (and pythonwin) is written in
Python, so no, it does not have to be left out.
  
 Since pythonwin is a

native WinForms application,
  

PythonWin does not use Windows Forms it uses win32.

Michael



Errr, Ummm, I didn't know there was a difference.
Please educate me. (supply links if helpful)
The longer I spend in this industry, the more I discover I don't know.
  


Windows Forms is .NET functionality layered on top of the Win32 APIs 
(using User32.dll, GDI+ etc). It introduces new controls and a whole 
programming model on top of those primitives.


Pywin32 provides direct access to win32 and has nothing to do with 
Windows Forms.


There are other complications with MFC (I've always assumed that was 
just a strict subset of what is loosely termed win32 - but I am playing 
fast and loose with terminology here).


All the best,

Michael Foord


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



--
http://www.ironpythoninaction.com/

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


Re: [IronPython] IDLE like functionality

2009-04-29 Thread Davy Mitchell
MFC is a C++ wrapper for Win32. Made it more OO.

Ah takes me back :-) !!

Cheers,
Davy
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com