ColumnCtrl is a small companion widget for the tablelist widget.
ColumnCtrl adds a small button on a tablelist.
This button gives you the ability to open a popup-menu allowing to hide or show the columns .
Moreover, you can open an extended control-panel allowing you to:
Note that ColumnCtrl's User-Interface is designed for internationalization; currently the following message-catalogs are available:
Included demos will show you how to add a column-control to your applications.
Basically, in order to activate a column-control you only need to add 2 lines:
package require Tablelist::ColumnCtrl
tablelist::columnctrl::attach $tbl
# NOTE: replace $tbl with the name of your tablelist
For detailed instructions take a look at readme.txt
tablelist::columnctrl::attach
Commandtablelist::columnctrl::attach
- Attach a column-control
to tablelist.
tablelist::columnctrl::attach tbl
tbl
.
tablelist::columnctrl::detach
Commandtablelist::columnctrl::detach
- Remove the column-control.
tablelist::columnctrl::detach tbl
tablelist::columnctrl::configure
Commandtablelist::columnctrl::configure
- Configure properties.
tablelist::columnctrl::configure tbl -neverhide { colID ... } tablelist::columnctrl::configure tbl -nevershow { colID ... }
tablelist::columnctrl::controlButton
Commandtablelist::columnctrl::controlButton
- Return the path of the button widget attached to $tbl
tablelist::columnctrl::controlButton tbl
tablelist::columnctrl::controlMenu
Commandtablelist::columnctrl::controlMenu
- Return the path of the menu widget attached to $tbl
tablelist::columnctrl::controlMenu tbl