tablelist::addBWidgetEntry
Command
tablelist::addBWidgetSpinBox
Command
tablelist::addBWidgetComboBox
Command
The BWidget package is a library extension for Tcl/Tk version 8.1.1 or higher, written in pure Tcl/Tk code. Its download location is
http://tcllib.sourceforge.net
Tablelist supports interactive cell editing with the aid of the Entry, SpinBox, and ComboBox widgets from the BWidget package. The steps needed for using one of these widgets for editing the cells of a given column are as follows:
columnconfigure
subcommand to set the given column's -editable
option to
true and its -editwindow
option
to the value returned by the command mentioned above. (Instead of
enabling the interactive cell editing in the whole column, you can also
invoke the tablelist's cellconfigure
subcommand to set the -editable
option for
individual cells of the given column to true.)
tablelist::addBWidgetEntry
Commandtablelist::addBWidgetEntry
- Register the Entry widget
from the BWidget package for interactive cell editing
tablelist::addBWidgetEntry ?name?
-editwindow
column
configuration option. It may be any string that is different from
entry
, spinbox
, and
checkbutton
. The default is
Entry
. The command returns its
name
argument.
tablelist::addBWidgetSpinBox
Commandtablelist::addBWidgetSpinBox
- Register the SpinBox widget
from the BWidget package for interactive cell editing
tablelist::addBWidgetSpinBox ?name?
-editwindow
column
configuration option. It may be any string that is different from
entry
, spinbox
, and
checkbutton
. The default is
SpinBox
. The command returns its
name
argument.
name
as the value of its
-editwindow
option, the embedded SpinBox widget
will be created with its -editable
option set to
1
. You can use the script corresponding to the
-editstartcommand
tablelist configurarion option to make the SpinBox non-editable or
define validations for it, as well as for setting its (range of)
values and its -wrap
option.
tablelist::addBWidgetComboBox
Commandtablelist::addBWidgetComboBox
- Register the ComboBox
widget from the BWidget package for interactive cell editing
tablelist::addBWidgetComboBox ?name?
-editwindow
column
configuration option. It may be any string that is different from
entry
, spinbox
, and
checkbutton
. The default is
ComboBox
. The command returns its
name
argument.
name
as the value of its
-editwindow
option, the embedded ComboBox widget
will be created with its -editable
option set to
1
. You can use the script corresponding to the
-editstartcommand
tablelist configurarion option to make the ComboBox non-editable or
define validations for it, as well as for populating its listbox
component (with the aid of the ComboBox widget's
-values
option).