delegate option

obj delegate option $option $class $component
delegates option $option of class $class to its component $component. A different option name for $component can be given.

This procedure defines the appropriate configuremethod and cgetmethod to use the component's options.

Example:

obj delegate option -coords morph line

Example with different target names:

obj delegate option -startcoords morph start -coords
obj delegate option -endcoords morph end -coords

© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z