« Gossip with GTK+/OS X | Main | Mac integration »

Post-GUADEC

Time for my yearly blog entry!

I had a really good GUADEC this year, despite the weather (it was just like home, in rainy Gothenburg). There was a lot of interesting discussions going on about the future of our toolkit and platform. It's good to see the activity increasing, like it seems to have done over the last year or so, and the whole platform from X to Cairo to GTK+ moving forward.

During GUADEC, when working on a test case for the Mac OS port of GTK+ I somehow ended up doing a hack with animated reordering of a GtkBox, I don't really remember how I got that side-tracked ;) Anyway, after some more tinkering I came up with the idea that the same trick could be used to implement a Fifteen game using a GtkTable. Micke was quick to bribe^Wencourage me into actually doing it. Here it is:

The hack subclasses GtkTable, and as you can see when the window is resized, the table manages its children just like it normally does.

Comments

Code? Pretty please?

That's very sweet! How does it 'behave' when you make the window fullscreen? How much does it bug the CPU? On what Xorg/driver/GPU combo do you run that?

Quite interesting, where's the code? :-)

Looks really sweet!

But I don't think we should abuse GTK just because we can ;)

On the other hand: Really cool stuff!!

Looks really sweet!

Where is the code

still no source code?

Various answers in one go: this was recorded on my IBM X41 which has an i945 something chip, nothing fancy at all. I run a stock Xorg server that comes with feisty. It works pretty well fullscreen too...

The code is pretty useless, just a quick hack, using a patched GTK+ with the GtkTimeline patch that Carlos wrote. I might clean it up at some point and put it here. You can easily do other similar things by just gradually changin properties on widgets or the size allocation of them.