beetlebug▾
/

tui::destroytui

Destroys widgets, each one with the widgets below it.

tui::destroy ?PATH ...?

Description

The commands of the widgets and their bindings go too. A path with no widget is no error. tui::destroy . removes each widget.

Returns

An empty string.

Examples

% tui::label .x; tui::destroy .x; tui::winfo exists .x
0

Errors

A path with no widget is no error, so each call works.

Facts

Capability
tui. A new interpreter does not have it until the host turns it on.
Tcl release
Tcl 9.1 and 8.6.
Since
ztcl 1.0.0-beta.7

The full page: tui::destroy.

See also