Layout stale after adding widgets to GtkContainer, resolves on window resize

Don’t do that ever

why? What bad things ™ would happen?

I tried gtk_widget_queue_resize and it didn’t have any effect, the program went back to the old behaviour of not showing the menu till a window resize. I’m assuming that you mean I should pass the GtkBox to gtk_widget_queue_resize?

I agree, it’s probably something I’m doing elsewhere in the code. The most obvious place would be the custom LgiWidget code which comprises the widget called Wnd->_Root in this example. It’s a non standard widget that I wrote to wrap GTK stuff for my cross platform code. And it’s recently been ported from GTK2 so a bunch of stuff in there is me just figuring out who to write a custom GTK3 widget, and is probably badly written. Maybe something in the function lgi_widget_size_allocate(…)?