To start following through with my commitment of prototyping I set for myself, I put together a TreeMap widget this weekend. After seeing Miguel's in Moonlight, I had to write one too. Turns out they are pretty fun. It uses cairo and pango for drawing.
Implemented in pygtk here and in C# here.
And Youtube Video Example or screenshot.

Comments (5)
Thanks for sharing the prototype – there is not so much pango/cairo action going on and every functional piece of code teaches something
You might find of interest that python actually has built in function to convert between rgb and hsv. Google for “python colorsys”!
@tm
i *knew* there had to be a better way to do the color conversions
Hi christian,
This is really a nice widget. Unfortunately the C# archive of the code is broken. Can you update it?
Thanks,
john
@john
quite strange, i guess your browser is maybe decompressing the gz for you. wget/curl seems to work though.
alternatively, i just pushed the code to my github tree:
http://github.com/chergert/custom-gtk-widgets/tree/master
I’ll take a look at my http config and see if i can fix that though.
Thanks! I got the code from the git repository.
John