from gi.repository import Regress foo_interface = Regress.FooInterface()
FooInterface requires GObject.Object
FooInterface is implemented by FooBuffer, FooObject and FooSubobject