beetlebug▾
/

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

Errors

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

Facts

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

See also