Hello,

I am building a db-handling app in ruby, with Tk GUI. I have found the
tktable widget for tk (http://tktable.sourceforge.net/), which is a
featureful table component with scrolling/editing/command
callback/caching, and looks good for displaying query results. It has
the capability of using a callback command to query the value of a cell,
and it passes values (row/col of the cell) to the callback function in
the same manner as bind (%c, %r ...). 

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?

Another question: are there other solution for displaying a database
query result in a grid using ruby/tk?

Thank you:
Circum