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.
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