callback
The command procedure to be executed when window is closed (iconified). When such a procedure is defined for a window and invoked, the window identifier is passed to the procedure as a parameter.
New windows have an iconify procedure of null.
Any window defined as a master window (with the -mas switch at creation time) will not have this procedure executed. A master window has the behavior which iconizes all other windows when it gets iconized itself.
window.iconify (<window>)
win1.iconify = {
# Close two other windows whenever window 1 is closed
wclose win2, win3
}
|
Commands: |