On Thu, Aug 04, 2005 at 11:11:47AM +1000, Martin Sevior wrote:
Ah OK. We think the other way I guess. We try to make standard widgets do what we want. We only have a few custom widgets in AbiWord.
I would *never* recommend using glade generated code. For most of what we need using glade/libglade cuts down code size by about 50% in dialogs and reduces the time needed to code a dialog by many hours. It can be subsequently tweaked to comply with the GNOME HIG by non-core coders who ARE interface experts.
But if you guys need custom widgets then this approach is clearly not feasible.
Well, it's not even just custom controls but other more advanced gtk controls like the tree view. The stuff glade seems to make easy, like basic dialogs with some checkbuttons and text inputs, aren't really that hard to do in plain C either. But the things that are hard to do in C, appear to be impossible to do in glade anyway.
I think we all earned a very healthy distrust of glade back when we were doing development on Sodipodi, and we just haven't seen enough evidence to change our views of it. It seems to be adequate for quick and dirty stuff or for small applications with modest dialog needs, but it seems that too many of Inkscape's needs lay outside glade's scope.
Bryce