On Thu, 2005-08-04 at 00:55 -0700, Bryce Harrington wrote: [snip]
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.
libglademm allows you to to do both. You can lay out the window/dialog in Glade, including your custom widget, and then specify the details for the custom widget in your code. get_widget_derived() helps here. For instance, I tend to always derive a TreeView class, and I don't mind that I don't see the correct column names in Glade.
You can also layout custom (well, composite) widgets in glade and use get_widget() to access the child widgets.
[snip]