__call__ (
parentComponent,
componentName=None,
**attrVals,
)
Create a new component
The default constructor signature of a binding component is
to receive an parent component to be bound to, an optional name
relative to the parent, and keyword arguments which will be
placed in the new object's dictionary, to override the specified
bindings.
Note that some component factories (such as binding.Component )
may be more lenient than this interface requires, by allowing you to
omit the parentComponent argument. But if you do not know this is
true for the object you are calling, you should assume the parent
component is required.
|