4.2
PrototypedFrom
The signature of the
PrototypedFrom initializer function is:
def __init__(self, prototype,
prefix='', listenable=True, **metadata)
The prototype parameter is a string that specifies the name
of an attribute on the same object, which refers to the object whose attribute
is prototyped; it is usually an Instance trait. The prototyped attribute
behaves similarly to a delegated attribute, until it is explicitly changed;
from that point forward, the prototyped attribute changes independently from
its prototype.
The prefix and listenable parameters to the initializer function
specify additional information about how to do the prototyping.
|