Comment 3 for bug 1520969

Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

That code was one of my earliest contributions, when I had even less of a clue than I do now. It was horrid, and I shudder now when I think of looking at it again. Unfortunately GTK's splitter is rubbish in comparison to the Qt one. with Qt a splitter can have as many children as you want, and everything is sensible. In GTK a splitter is only allowed two children, and you have to nest the crap out of it. This of course makes things like redistribute pretty god-awful to code. I fantasize about the day that someone produces a Qt like Splitter for GTK. The only thing I would defend, is that at least I got the thing working... mostly.

It got so complicated with things moving around, not being where they should etc that, yes, I gave in and used a sledgehammer of repeatedly calling the redistributes. When someone like you (i.e. a real programmer) calmly says that turning off signals will make this much better, then I realise how little of GTK I really understand.