资 源 简 介
//建立顶级窗口
toplevel = XtVaAppInitialize[&app, "Frame", NULL, 0,
&argc, argv, NULL, NULL]
//建立Frame组件
n = 0
XtSetArg[args[n], XmNshadowType, XmSHADOW_ETCHED_IN] n++
XtSetArg[args[n], XmNshadowThickness, 4] n++
frame = XmCreateFrame[toplevel, "frame", args, n]
XtManageChild[frame]