beetlebug▾
/

wm forget

Makes a toplevel a normal widget, in Tk.

wm forget WINDOW

Description

ztk accepts the call and gives an empty string, with no effect: the window stays a toplevel.

Returns

An empty string.

Examples

% toplevel .t
> wm forget .t
> winfo toplevel .t
.t

Errors

% frame .f
> wm forget .f
window ".f" isn't a top-level window
-errorcode NONE

Facts

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