> > How should I define the command parameter of tktable in ruby to get use
> > of it? I need something like "... -command [list fnname %r %c] ...", and
> > of course the callback is written in ruby. Unfortunately, it seems that
> > the functions needed for to not to write from scratch are private in
> > TkComm/TkCore, e.g. ruby2tcl, and maybe install_cmd. Or am I missing
> > something?
> 
> Unfortunately, current Ruby/Tk doesn't have a general framework for
> callbacks with parameters. But one of the sample is included in the
> definition of TkEntry on Ruby 1.8.0. Please refer the implement of
> 'validatecommand' option of the entry widget.

Great, I wanted to write something similar (using install_cmd), and now
it revealed that I do not understand the ruby access control
(install_cmd is a private method). But now I have gone after it, and
everything is clear. :-)

Thanks for the help!

Circum