beetlebug▾
/

ttk::spinbox 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::spinbox .tsbic2
> .tsbic2 insert 0 hello
> .tsbic2 icursor 2
> .tsbic2 index insert
2

Errors

% ttk::spinbox .tsbic3; .tsbic3 icursor
wrong # args: should be ".tsbic3 icursor pos"
-errorcode NONE

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also