panedwindow forget
Removes each WIDGET from the panes.
PATHNAME forget WIDGET ?WIDGET ...?
Description
Removes the pane of each WIDGET and unmaps the widget. The widget stays, and a geometry manager can show it again.
Returns
An empty string.
Examples
% panedwindow .fo
> label .fo.a -text A
> label .fo.b -text B
> .fo add .fo.a .fo.b
> .fo forget .fo.a
> .fo panes
.fo.b
Errors
% panedwindow .fo2; .fo2 forget .nope
bad window path name ".nope"
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1