beetlebug▾
/

ttk::spinbox get

Gives the text of the field.

PATHNAME get

Description

Gives the whole text, with no change by -show and no hint of -placeholder.

Returns

The text.

Examples

% ttk::spinbox .tsbge
> .tsbge insert 0 hello
> .tsbge get
hello

Errors

% ttk::spinbox .tsbge2; .tsbge2 get x
wrong # args: should be ".tsbge2 get"
-errorcode NONE

Facts

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

See also