cgetmethod

::obj::cgetmethod $class $key $body
manages $body to be invoked on getting option $key instead of reading out own data.

Example:

% ::obj::cgetmethod morph -coords {
    [my line] cget -coords
  }
cgetmethod morph -coords
%

No Software Patents

| Home | Sitemap | A-Z