in reply to Tk::TableMatrix swaping rows

It looks like your best option is to use:

$table->deleteRows(?switches?, index, ?count?)

and:

$table->insertRows(?switches?, index, ?count?)

to manipulate the table rows or the two functions:

$table->get(first, ?last?) $table->set(?row|col?, index, ?value?, ?index, value, ...?)

to get previous contents and set new contents.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: Tk::TableMatrix swaping rows
by ldln (Pilgrim) on Aug 30, 2007 at 13:18 UTC
    this will leak and it will be slow. the best way is to directly manipulate the hash tied to the tablematrix widget. for images and tags extra work is required though.

    its too bad this wonderful module hasn't been "leak fixed" (I still have hopes though ;).