I have a GTK grid (allocated and initialized) in a top-level root window (homogeneous rows and columns) which covers the entire physical display. I'd like to display all of the various contained widgets, but sometimes the rightmost grid entries are getting clipped. In such a case I would like to detect that the display has clipped the grid and automatically to retry with a smaller font. How may I accomplish this? (I'm using gtk v3)
I've mostly tried searches to find an answer, both via duckduckgo and via SO's search. Lots of hits on visible (not useful, the grid and its contained widgets are all visible), clipping areas, etc.