[IronPython] A good dotNET gui designer, plus IronPython VS2008 integration?
loocas at duber.cz
Wed Feb 3 01:01:37 CET 2010
Ah, nope, it was something else after all.
The SharpCode didn't like anything after the Class
declaration, for some reason. Whenever I put something
in there, the designer stops working. As soon as I delete
it, it works agin.
Might be a bug?
[T] +420 602 444 164
[M] info at duber.cz
[A] R.A.Dvorského 601, Praha 10
[A] 10900, Czech Republic, Europe
Dino Viehland wrote:
> Would adding an import System at the top make both the designer and the code happy?
>> -----Original Message-----
>> From: users-bounces at lists.ironpython.com [mailto:users-
>> bounces at lists.ironpython.com] On Behalf Of Lukáš Dubeda
>> Sent: Tuesday, February 02, 2010 3:41 PM
>> To: Discussion of IronPython
>> Subject: Re: [IronPython] A good dotNET gui designer, plus IronPython VS2008
>> Thanks a lot for the recommendation,
>> I've installed the SharpCode and it seems quite useful. It presents
>> a little inconvenience, but I'm not sure if it's my lack of knowledge
>> or something else, but when I design the UI, the SharpCode puts
>> the whole path to each of the control:
>> someControl = System.Drawing.etcEtc
>> which IronPython then throws an error on, saying that the "System"
>> hasn't been declared and thus doesn't exist.
>> I had to remove the whole path from the controls' name in order to
>> make it run in IronPython. But then the visual designer stopped
>> working :D as it requires the full path to the controls, for some
>> Anyways, thanks a lot for the tip!
>> Lukáš Duběda
>> [T] +420 602 444 164
>> duber studio(tm)
>> [M] info at duber.cz
>> [W] http://www.duber.cz
>> [A] R.A.Dvorského 601, Praha 10
>> [A] 10900, Czech Republic, Europe
>> Michael Foord wrote:
>>> On 02/02/2010 21:08, Brian Curtin wrote:
>>>> On Tue, Feb 2, 2010 at 15:00, Lukáš Duběda <loocas at duber.cz
>>>> <mailto:loocas at duber.cz>> wrote:
>>>> Hi there everybody,
>>>> I'd really appretiate if anyone could share their experience
>>>> with any good dotNET GUI designer. I'd love to have such
>>>> functionality I can get out of QtDesigner, where I visually
>>>> design my forms and buttons and what not and then just save
>>>> that GUI into a file or generate a usable Python code
>>>> out of it for my scripts.
>>>> And another question, is there any good integration of IronPython
>>>> into Visual Studio 2008? Or newer? I'm not a VS user, but since
>>>> we can get the VS Express for free, this'd be a valuable tool
>>>> for my IronPython programming.
>>>> Thanks a lot in advnace, cheers,
>>>> I don't have a lot of experience with it, but Sharp Develop
>>>> (http://www.icsharpcode.net/OpenSource/SD/) supports IronPython, and
>>>> may be worth a look. Others have reported success.
>>>> If you do look into Visual Studio, you can write GUI code in C# using
>>>> the Visual Studio designer, then subclass it from Python code.
>>> This is the approach I usually recommend. The only thing you miss out on
>>> is hooking up your events from the designer - but if you're doing TDD
>>> then you'll want to write your tests first anyway... :-)
>>>> You can even, with a little modification, design GUIs in C# in Visual
>>>> Studio and copy/paste the C# code into a Python file and run with it.
>>>> You'll need to convert things like true/false to True/False, null to
>>>> None, etc...but with a little effort it works :)
>>>> Users mailing list
>>>> Users at lists.ironpython.com
>>> READ CAREFULLY. By accepting and reading this email you agree, on behalf of
>> your employer, to release me from all obligations and waivers arising from any
>> and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap,
>> clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and
>> acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with
>> your employer, its partners, licensors, agents and assigns, in perpetuity,
>> without prejudice to my ongoing rights and privileges. You further represent
>> that you have the authority to release me from any BOGUS AGREEMENTS on behalf
>> of your employer.
>>> Users mailing list
>>> Users at lists.ironpython.com
>> Users mailing list
>> Users at lists.ironpython.com
> Users mailing list
> Users at lists.ironpython.com
More information about the Ironpython-users