<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/11035/PySWT_a_Python_Binding_to_SWT</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2009, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Tue, 10 Nov 2009 04:23:56 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>FIRST POST!!!</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Nicely done, great looking gui's in minimal code, does this depend on Java though?</description>
			<pubDate>Thu, 30 Jun 2005 06:14:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Re: First Post</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Atm, from looking at the site it uses Jython as its Python &gt;&gt;---&gt; Java interface, but Zilin (the PySWT creator) is wanting to create a C++ Wrapper instead of relying on Jython.</description>
			<pubDate>Thu, 30 Jun 2005 06:21:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>How about calling SWT...</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>...Naive looking toolkit?<br />
<br />
There are a real lot of GUI bindings. DotGNU once had 2x more bindings than real apps. The question is what gets used.<br />
<br />
And to get used, you have to get your bindings bundled with linux distros. Other platforms generally NOT care about exotic things.</description>
			<pubDate>Thu, 30 Jun 2005 06:43:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>SWT does not look native on Mac</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>SWT looks native like Jacko looks black. Sorry, but SWT has a long way to go yet...</description>
			<pubDate>Thu, 30 Jun 2005 06:55:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>@Andrew</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>As far as I can tell, it is using GCJ with SIP (Python wrapper generator, originally developed for PyQt). So it does not require JRE.</description>
			<pubDate>Thu, 30 Jun 2005 07:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Nice one</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Although libgcj.dll is about 10mb <img src="/images/emo/sad.gif" alt=";)" />  - not so good if you want to distribute small gui apps.</description>
			<pubDate>Thu, 30 Jun 2005 07:34:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>&amp;quot;wateva&amp;quot; - Cartman</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>cross platform native looking GUI<br />
<br />
What, you mean like wxPython?  Sorry, I've already got my Python GUI toolkit, and it looks native on every important platform: Windows, X11, Motif, Qt, Gtk, Mac Classic, and Mac Cocoa.</description>
			<pubDate>Thu, 30 Jun 2005 07:41:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Size</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>&gt; Although libgcj.dll is about 10mb <img src="/images/emo/sad.gif" alt=";)" /> <br />
<br />
For comparison, on my computer (Debian Sid), size of Qt library (/usr/lib/libqt-mt.so.3.3.4) is 7.0 MB, and libgcj (/usr/lib/libgcj.so.4.0.0) is 7.7 MB. So they are comparable.<br />
<br />
If distributing an app using Qt is feasible, so is one using GCJ.</description>
			<pubDate>Thu, 30 Jun 2005 07:44:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>WX and SWT?  Why bother, when GTK works great?</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>I don't understand SWT (on Python anyhow) or WX - why not just use GTK straight-up instead of going through those goofy intermediary APIs?  The WIMP theme that's built into GTK 2.6 makes GTK look almost exactly like native Windows widgets.  Plus, when using GTK natively, you get the backing of Glade to design your GUIs with.</description>
			<pubDate>Thu, 30 Jun 2005 07:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Why bother, when GTK works great?</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Well for a start GTK isn't native on OSX.</description>
			<pubDate>Thu, 30 Jun 2005 08:09:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Re: Dave</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>And wx looks weird (read: ugly) on linux/gtk, especially since the default is still gtk+1.2 with non antialiased fonts.<br />
<br />
Plus the widgets do not resize correctly, and the general layout of wx apps is consistently ugly :-)<br />
<br />
I know: I tried Boa with wx compiled for gtk2... ugly. Text spilled outside widgets...</description>
			<pubDate>Thu, 30 Jun 2005 08:31:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Interesting</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>It's an interesting achievement, but I'm not sure where it's going. Arguably PyQt has the lead now that Qt is GPL everywhere, I suppose PySWT falls in free commerical use camp with wxPython. However Qt has the advantage of Qt Designer (which is not insignificant when it comes to drawing up GUIs).<br />
<br />
One thing that puzzles me though is the memory management. SWT famously requires memory management, even on Java, a managed language. I can't tell from the samples if this is still the case with PySWT: all the sample GUIs are fairly static (i.e. they appear, do nothing, and get destroyed with the rest of the app when it dies). Does anyone know what the story is?</description>
			<pubDate>Thu, 30 Jun 2005 08:34:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Interesting</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>&gt;It's an interesting achievement, but I'm not sure where it's going. Arguably &gt;PyQt has the lead now that Qt is GPL everywhere, I suppose PySWT falls in free &gt;commerical use camp with wxPython. However Qt has the advantage of Qt &gt;Designer (which is not insignificant when it comes to drawing up GUIs).<br />
<br />
Of course PyQt is not available for Qt 4 yet so it's not in the lead quite yet.</description>
			<pubDate>Thu, 30 Jun 2005 09:21:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: RE: Interesting</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>True, but it's on the roadmap, and for what it's worth, the PySWT bindings aren't finished yet either: <a href="http://www.cs.nyu.edu/zilin/pyswt/pmwiki.php?n=PmSWT.TODO" rel="nofollow">http://www.cs.nyu.edu/zilin/pyswt/pmwiki.php?n=PmSWT.TODO</a></description>
			<pubDate>Thu, 30 Jun 2005 09:36:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>PyQt (@borg000)</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>PyQt works now on Qt3 on Linux, and on Win32 with the GPL ported version of Qt3.<br />
<br />
--<br />
Simon</description>
			<pubDate>Thu, 30 Jun 2005 10:51:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>re: </title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>&gt; One thing that puzzles me though is the memory management. SWT famously requires memory management, even on Java, a managed language. I can't tell from the samples if this is still the case with PySWT: all the sample GUIs are fairly static (i.e. they appear, do nothing, and get destroyed with the rest of the app when it dies). Does anyone know what the story is?<br />
<br />
You're confused.  Java provides memory management - not resource management.  They are different.  SWT doesn't need you to manage memory either, just some external, native, unmanaged resources that are allocated by the native operating system (colors, fonts, etc).  Is this any different than having to remember to close a stream or database connection?  It may seem silly at first (especially because Swing gets around it by emulating everything and not having to communicate with the native windowing system), but it makes sense - and the way they've implemented SWT makes it really a non issue anyway because the rules are so easy to follow.</description>
			<pubDate>Thu, 30 Jun 2005 11:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>you having a larf?</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>since when has swt been more native looking than wxwidgets or qt?</description>
			<pubDate>Thu, 30 Jun 2005 12:01:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>@Dave</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Well for a start GTK isn't native on OSX.<br />
<br />
Yup - and that should be fixed.</description>
			<pubDate>Thu, 30 Jun 2005 12:42:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Re:  you having a larf?</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>&quot;since when has swt been more native looking than wxwidgets or qt?&quot;<br />
<br />
Since forever for anyone using Gnome 2 or XFce4 as their primary desktop.</description>
			<pubDate>Thu, 30 Jun 2005 13:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>@Jon</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Yes it should but no one seems to be interested enough to take it though to completion.</description>
			<pubDate>Thu, 30 Jun 2005 14:21:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Just use Jython and optionally IKVM</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Just use Jython and Java to create your SWT app, instead of creating a whole other customized wrapper on top of SWT.  Then if you wanted to also you can use IKVM to generate an .exe that runs in .NET or Mono: <a href="http://www.ikvm.net/" rel="nofollow">http://www.ikvm.net/</a></description>
			<pubDate>Thu, 30 Jun 2005 14:57:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Native look?</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>On my Linux machine Qt is the native look, so saying it has a &quot;cross platform native looking GUI&quot; without naming the toolkit is at least questionable.</description>
			<pubDate>Thu, 30 Jun 2005 15:26:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>re: Native look?</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>SWT takes on the native look of what ever OS you're using, if you're using QT it looks like QT, if you're using GTK+ it looks like GTK+, if you're using Win32, it looks like Win32, etc.</description>
			<pubDate>Thu, 30 Jun 2005 16:14:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>screenshots?</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Where did the moderated comments go? I had something to say about the screenshots (nothing wrong with that, right? We're talking about UI's here), but it's gone. I assume it has been moderated, as some people can't take the truth.</description>
			<pubDate>Thu, 30 Jun 2005 17:27:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Renato</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>WxWidgets-2.6.0 has been released a few weeks ago.<br />
Gtk2 is now default, the resize problems seem to be gone.<br />
The wx app I'm mainly using (poEdit) even uses Gtk stock icons, with no change to the application, simply by recompiling. I've seen apps where the ugly win-classic icons are still there though. This app at least is now practically indistuingishable from a native Gnome app, except for the about box and the help browser; the wx help browser is so much better than yelp - yelp is horrible.<br />
So as a user I'm very satisfied, VLC is looking good too.<br />
As a developer I still have my reservations.</description>
			<pubDate>Thu, 30 Jun 2005 18:42:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE:</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>They really should be called QtPy and SwtPy (cutie-pie and sweety-pie)</description>
			<pubDate>Fri, 01 Jul 2005 08:02:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>libgcj size</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>Just for those pointing to the size of libgcj: That is fixable. SWT does not put very heavy requirements on the java class library, so you can probably strip out a *considerable* part of those 10 Mb for the purpose of creating a lightweight libgcj.so (or .dll).</description>
			<pubDate>Fri, 01 Jul 2005 08:42:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Galde</title>
			<link>http://osnews.com/thread?</link>
			<guid isPermaLink="true">http://osnews.com/thread?</guid>
			<description>why not prove glade?</description>
			<pubDate>Fri, 01 Jul 2005 12:35:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
