beetlebug▾
/

ttk::combobox 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::combobox .tcbge
> .tcbge insert 0 hello
> .tcbge get
hello

Errors

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

Facts

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

See also