Re: [IronPython] .NET vs. Tk vs. PyQt . .

2008-01-13 Thread Corrin Lakeland
Also worth mentioning that TK is really ugly and a pain to code for compared to windows forms or QT. I’d drop it from the options even before I dropped wx (which I view as better than TK but not as good as QT or windows forms). PS: I imagine most of windows forms is available cross-platform

Re: [IronPython] .NET vs. Tk vs. PyQt . .

2008-01-13 Thread Keith Hoard
Michael, Thanks for the reply. I have to learn how to tell the difference between an apple and an orange before I can start cooking!! On Jan 13, 2008 12:23 PM, Michael Foord <[EMAIL PROTECTED]> wrote: > Keith Hoard wrote: > > What are the "big picture" differences between these three? > > > > I

Re: [IronPython] .NET vs. Tk vs. PyQt . .

2008-01-13 Thread James Matthews
Well .Net's gui library is Forms, PyQt is python binding that allow it to connect to the QT library, Same thing with TK and WxPython! Enjoy On Jan 13, 2008 3:43 PM, Keith Hoard <[EMAIL PROTECTED]> wrote: > What are the "big picture" differences between these three? > > I've figured out that all t

Re: [IronPython] .NET vs. Tk vs. PyQt . .

2008-01-13 Thread Michael Foord
Keith Hoard wrote: > What are the "big picture" differences between these three? > > I've figured out that all three give Python GUI capability. I also > know that .NET is specific to Windows and in addition gives access to > sound and graphics capability of the computer. Tk and PyQt are > ava

Re: [IronPython] How to call a c dll from IronPython?

2008-01-13 Thread Dino Viehland
The other possibility is P/Invoke but we don't expose that from IronPython. Instead you need to write a C# wrapper. Then you do a clr.AddReference to the wrapper assembly, import it, and call the helper function. From: [EMAIL PROTECTED] [EMAIL PROTECTED

[IronPython] .NET vs. Tk vs. PyQt . .

2008-01-13 Thread Keith Hoard
What are the "big picture" differences between these three? I've figured out that all three give Python GUI capability. I also know that .NET is specific to Windows and in addition gives access to sound and graphics capability of the computer. Tk and PyQt are available for both Windows and Linux

Re: [IronPython] How to call a c dll from IronPython?

2008-01-13 Thread Slide
On Jan 13, 2008 1:26 AM, console shark <[EMAIL PROTECTED]> wrote: > > I wrote a function and built it to a dll in C. For traditional CPython I > then used SWIG to generate the module files and can call it easily. > > However I am not sure how to call this same dll and function from > IronPython? Th

[IronPython] How to call a c dll from IronPython?

2008-01-13 Thread console shark
I wrote a function and built it to a dll in C. For traditional CPython I then used SWIG to generate the module files and can call it easily. However I am not sure how to call this same dll and function from IronPython? The function looks like: int func(char* p, int i, int j); Any easy way to d