listbox insert
Inserts each ITEM before the item at INDEX.
PATHNAME insert INDEX ?ITEM ...?
Description
Puts the items into the listbox, in order, before INDEX. end adds them after the last item. A listbox with -state disabled keeps its items.
Returns
An empty string.
Examples
% listbox .in
> .in insert end b c
> .in insert 0 a
> .in get 0 end
a b c
Errors
% listbox .in2; .in2 insert
wrong # args: should be ".in2 insert index ?element ...?"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1