ttk::entry icursor
Moves the insert cursor before a character.
PATHNAME icursor INDEX
Description
Puts the insert cursor before the character at INDEX. The index insert then gives that place.
Returns
An empty string.
Examples
% ttk::entry .teic2
> .teic2 insert 0 hello
> .teic2 icursor 2
> .teic2 index insert
2
Errors
% ttk::entry .teic3; .teic3 icursor
wrong # args: should be ".teic3 icursor pos"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1