Maybe this can help you, should be still for old GTK2:
[https://stackoverflow.com/questions/1060039/gtk-detecting-window-resize-from-the-user](https://stackoverflow.com/questions/1060039/gtk-detecting-window-resize-from-the-user)
I dont know for GTK2 -- if non of the suggested signals work
My Gtk3 implementation uses the `configure-event` signal; in the handler it
calls `gtk_window_get_position()` to get the new window size.
[Source](https://github.com/trustable-code/NiGui/blob/master/src/nigui/private/gtk3/platform_impl.nim#L53)
This is a GTK2 question rather than a nim question. I hope some NIXER will
disregard that and lend a hand. I have returned to a cross-platform GUI nim
project after 6 months in the Javascript Wilderness. I discovered the GTK2
version of my module was exercising the check-resize callback many