i have a main HasTraits class which contains several Instance's of other HasTraits objects. I would like to define an Item in the view of the main
object which points to a trait of a nested object. for example:
class Person(HasTraits):
name = String()
class Pet(HasTraits):
name = String()
class Family(HasTraits):
father = Instance(Person,())
dog = Instance(Pet,())
view = View(
Item('father.name'),
Item('dog.name'),
)
is this possible?
thanks!