Introduction - If you have any usage issues, please Google them yourself
//建立顶级窗口
toplevel = XtVaAppInitialize[&app, "ArrowButton", NULL, 0,
&argc, argv, NULL, NULL]
//建立多选按钮的布局组件
n = 0
XtSetArg[args[n], XmNarrowDirection, XmARROW_RIGHT] n++
XtSetArg[args[n], XmNwidth, 100] n++
XtSetArg[args[n], XmNheight, 100] n++
arrow = XmCreateArrowButton[toplevel, "arrow", args, n]
XtManageChild[arrow]