まつもと ゆきひろです

試していないんですけど.

In message "[ruby-list:1855] command of TkScale"
    on 97/01/24, Noritugu Nakamura <nnakamur / tamaru.kuee.kyoto-u.ac.jp> writes:

|中村です。

| : scale $w.frame.scale -orient vertical -length 284 -from 0 -to 250 \
| :     -command "setHeight $w.frame.canvas" -tickinterval 50
| (略)
| : proc setHeight {w height} {
| (略)
| : }
|
|という行があるのですが、これをどう
|処理したらいいのかという問題です。

scale = TkScale.new {
  ...
  command proc{ |height| setHight(scale, height) }
}

ではだめですか?