The
CW_TMPL procedure is a
template for compound widgets that use the XMANAGER. Use this template instead of writing your compound widgets from "scratch". This template can be found in the file
cw_tmpl.pro
in the
lib
subdirectory of the IDL distribution.