Hi, I'm not a trained programmer, so feel free to ignore me... as in "take my advice - I wasn't using it anyway". I think your design isn't reflecting your mental model. The table, rather than being 34+ separate widgets, is one widget, because the relationship of the parts of the widget to each other is critical to its function. Breaking it down further will increase complexity because there are considerable interdependencies between the child widgets dependent on the appearance; Gtk's packing structure is about being able to specify a minimum set of relative relationships and then ignore the appearance, relying on the toolset to adjust the child widgets within the available space. Also, it seems to me the table is a visual "mat"; the chip appears to be the more important widget. If you do it with a single table widget you could conceivably have a base class of "table", and derive from it to specify the appearance of various subtypes of table, which would solve the different look aspect. Ian On 16/12/15 12:33, codekiddy wrote:
|