Table insertion using the Abiwidget API

From: William J Giddings <wjgiddings_at_blueyonder.co.uk>
Date: Tue Apr 26 2011 - 13:58:48 CEST

I recently created a set of Tcl bindings to the Abiwidget which are
fine. I've successfully wrapped the various functions of the API into a
series of object commands and options but I'm not certain how to allow
the insertion of table entries under script control. Is there something
not listed in the API that would allow me to add such a command? To
illustrate the point, from a TCL point of I would like to implement the
following:

set aw [gnocl:;abiwidget]
set tab(1) [$aw1 insert table -rows 5 -cols 3]

set row 1
set col 1

$tab(1) set $row $col "HELLO"

incr col

$tab(1) set $row $col "WORLD"

Will
  
Received on Tue Apr 26 15:15:00 2011

This archive was generated by hypermail 2.1.8 : Tue Apr 26 2011 - 15:15:00 CEST