lego/src/ZSplitUtils.i3


Copyright (C) 1994, Digital Equipment Corp.
 The ZSplitUtils interface contains utility procedures for working
   with ZSplits.  The ZChildVBT interface contains some additional
   utility procedures that are oriented for children of ZSplits that
   are used as subwindows. 

INTERFACE ZSplitUtils;

IMPORT VBT;

PROCEDURE FindZChild (v: VBT.T): VBT.T;
Return the lowest (possibly improper) ancestor of v whose parent is a ZSplit.T and which is not the ZSplit.T's background child. If no such VBT is found, return NIL. There's a good chance that the VBT returned is a ZChildVBT.T, but this is not required.

END ZSplitUtils.