Version 1 of A TclOO megawidget based on tablelist - extended (XTableList)

Updated 2016-07-28 09:12:17 by JOB

JOB 2016-07-08 Playing with TclOO...

The following source implements a TclOO megawidget based on tablelist with some extended features to manipulate the tablelist content.

WikiDBImage xtablelist_demo.png

Features

The following additional commands are implemented:

  • Move selected items up or down,
  • reverse the list order,
  • delete selected items,
  • delete all, but just keep selected items (exceptional delete),
  • undo previous operations (restore content to it's original state),
  • save listbox to file,
  • restore content from file

Source Code

The megawidget source is divided into various files to keep public and private interface separated. As always, the purpose of the code is to gain some more experience in coding with TclOO.

pkgIndex.tcl

xtablelist.tcl

xtablelist_public.tcl

xtablelist_private.tcl

xtablelist_popupmenu.tcl

xtablelist_readwrite.tcl

xtablelist_filesel.tcl

ImageLib.tcl