One under-the-radar change in GTK+ 3.0 was the addition of GtkGrid, which can replace GtkBox and GtkTable. There are two major reasons it is great:
- Better support for the new height-for-width layout engine. I’ve had several layout and spacing issues with labels and GtkTable in 3.0, but converting to GtkGrid fixed them. So if you’re having odd spacing issues, try a Grid.
- GtkGrid finally adds the feature that rows or columns with hidden contents also automatically hide their spacing. So if you’re making use of dynamic layouts that add and hide rows, you don’t have to jump through hoops to making your spacing perfect.