panedwindow proxy
Shows or hides the proxy line of a drag of a sash.
PATHNAME proxy coord
PATHNAME proxy forget
PATHNAME proxy place X Y
Description
The bindings show a proxy line at the new place of a sash during a drag with -opaqueresize 0.
coord: gives the x and the y of the proxy line.forget: hides the proxy line.place: shows the proxy line at X,Y.
Returns
A list of two integers for coord, else an empty string.
Examples
% panedwindow .px
> label .px.a -text A
> label .px.b -text B
> .px add .px.a .px.b
> .px proxy place 10 0
> .px proxy forget
Errors
% panedwindow .px2; .px2 proxy bogus
bad option "bogus": must be coord, forget, or place
-errorcode NONE
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1