configure

obj configure $class $key $val
prepares option $key with default $val for class $class.

Example:

% obj configure line -coords {10 10 100 10}
class line has option -coords with default {10 10 100 10}
%

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