Are dispose and unroot vfuncs exposed?
When overriding the methods
def do_unroot(self):
print("unrooted")
Gtk.Widget.do_unroot(self)
def do_dispose(self):
print("Disposed")
They do not seem to be executed when widgets are removed or when windows are closed. Looking at gtk4-rs it seems these should be executed.