gobject template