I think use __new__is exactly what you want to do. If you can set the attribute of an __class__instance of a superclass that you fall into a subclass, you must be set.
Here is what I think you need:
class Window(Gtk.Window):
def __new__(cls, *args, **kwargs):
self = Gtk.Builder.get_object()
self.__class__ = cls
return self
Python , , __new__, ( __class__), __init__ , .