Fix for Issue #158

"Is it possible to add a callback to the resize_widget function, that is
called when the resizing of a widget is finished? This may help to
update the widget content properly."

Possible, I have made an implementation of this because I thought I wanted to use it.