from gi.repository import Regress foo_subobject = Regress.FooSubobject()
GObject.Object
Regress.FooObject
Regress.FooSubobject