beetlebug▾
/

ttk::entry 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::entry .tege
> .tege insert 0 hello
> .tege get
hello

Errors

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

Facts

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

See also