SWT and Python (was: Re: What GUI toolkit looks the best?)

Thomas Heller theller at python.net
Tue Dec 16 09:11:46 EST 2003


Markus Wankus <markus_wankus at hotmail.com> writes:

> On Fri, 12 Dec 2003 15:32:35 GMT, Michael Hudson <mwh at python.net> wrote:
>
>> Oren Tirosh <oren-py-l at hishome.net> writes:
>>
>>> SWT has been ported from Java to C# for the SharpDevelop project. I
>>> wonder how difficult it would be to port SWT to Python.
>>
>> Is SWT the framework that was developed for Eclipse?
>>
>> I realise I could look this up myself, but well, that involves NN4
>> for the moment...
>>
>
> I believe that's what he means...and I have been wondering about this
> for awhile.  SWT is very wxWindows-ish in it's parent-child
> relationships - and I think it just looks and feels really cool.
>
> You can easily do it all in Python/Jython - provided you use the .dll
> and .jar file.  A pure Python wrapping of the .dll (i.e. replacing the
> .jar file) would be seriously cool.


Hm, it seems the .dll (which is 270 kB) is a thin wrapper over the
windows api, and the .jar file, which is (although probably compressed)
has 1MB, containing windows specific code.

Sounds more like a total rewrite of SWT in python than a simple wrapper
to me.

Thomas




More information about the Python-list mailing list