Archive for the 'Traits' category

Traits article published in February issue of Python Magazine

Feb 27 2009 Published by under General, News, Open Source, Python, Traits

The February issue of “Python Magazine” has just been published and it includes an article on Traits!

The title is, Reactive Programming with Traited Python, and the tag is, “The Traits package provides explicit typing, reactive programming, and fast user interface development, which enable rapid prototyping of applications that scale up to a full-featured production implementation.”

You can see the cover and the blurb at http://pythonmagazine.com/c/issue/view/92 , but you’ll have to buy the issue to read it.

I think it’s a great article that you should read, but I’m slightly biased since I wrote it.

2 responses so far

Almost lickable: SVG button editor in Traits

Nov 20 2008 Published by under Enable, Enthought Tool Suite, Traits

I’ve been working on implementing a SVG renderer in ETS for the last 6 months, a little at a time. We (Enthought) hasn’t really made much noise about it because it is still pretty lacking. One of the goals is to replace WX’s terrible icon rendering with something much prettier. Although this is still very much a work in progress, I think we’re close enough to start showing it.

32x32_button_demo

Lets assume your users are all 18 years old and have perfect eyesight, these 32×32 icons are a waste of space, lets try 16×16

16x16 button demo

Or maybe your users are a bit, um, older

128x128 button demo

The code couldn’t be any easier, its essentially a drop in replacement for the Traits Button class. If you’re living on the trunk, you are able to run this demo from the Enable/examples/savage directory.

A note about the icons in the demo: They come from the Oxygen icon set, Creative Commons 3.0 for the licenses wonks. They should have more color, but the renderer currently only supports 2 gradient stops, and these have gradients with significantly more stops.

No responses yet

« Newer posts Older posts »

Featuring Advanced Search Functions plugin by YD