ttk::panedwindow forget
Removes a pane from the paned window.
PATHNAME forget PANE
Description
Removes the pane and unmaps it. The widget of the pane stays.
Returns
An empty string.
Examples
% ttk::panedwindow .tpwfo
> foreach n {a b} {ttk::frame .tpwfo.$n; .tpwfo add .tpwfo.$n}
> .tpwfo forget .tpwfo.a
> .tpwfo panes
.tpwfo.b
Errors
% ttk::panedwindow .tpwfo2; .tpwfo2 forget 9
Slave index 9 out of bounds
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1