-
//建立顶级窗口
toplevel = XtVaAppInitialize[&app, "DrawArea", NULL, 0,
&argc, argv, NULL, NULL]
//建立drawarea
n = 0
XtSetArg[args[n], XmNwidth, 500 ] n++
XtSetArg[args[n], XmNheight, 500 ] n++
drawarea = XmCreateDrawingArea[toplevel, "drawarea", args, n]
XtManageChil ...
/dl/417442.html
标签:
NULL
XtVaAppInitialize
toplevel
DrawArea
上传时间:
2013-12-29
上传用户:a6697238
-
//建立顶级窗口
toplevel = XtVaAppInitialize[&app, "Form", NULL, 0,
&argc, argv, NULL, NULL]
n = 0
XtSetArg[args[n], XmNwidth, 500] n++
XtSetArg[args[n], XmNheight, 500] n++
XtSetValues[toplevel, args, n]
//建立主窗口
form = XmCreateForm[toplevel, "form", NULL, 0]
XtManage ...
/dl/417445.html
标签:
NULL
XtVaAppInitialize
toplevel
Form
上传时间:
2013-12-19
上传用户:亚亚娟娟123
-
//建立顶级窗口
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]
XtManag ...
/dl/417449.html
标签:
NULL
XtVaAppInitialize
toplevel
Frame
上传时间:
2013-12-08
上传用户:hasan2015
-
//建立顶级窗口
toplevel = XtVaAppInitialize[&app, "Label", NULL, 0,
&argc, argv, NULL, NULL]
//建立按钮上标签的字符串
str = XmStringCreateLtoR["A Simple\n Label",
XmFONTLIST_DEFAULT_TAG]
n = 0
XtSetArg[args[n], XmNlabelString, str] n++
label = XmCreateLabel[toplevel, "pushbu ...
/dl/417450.html
标签:
NULL
XtVaAppInitialize
toplevel
Label
上传时间:
2014-01-11
上传用户:bruce5996
-
//建立顶级窗口
toplevel = XtVaAppInitialize[&app, "List", NULL, 0,
&argc, argv, NULL, NULL]
//建立列表上的复合字符串
for[i=0 i<12 i++]
str_months[i] = XmStringCreateSimple[months[i]]
//建立列表
n = 0
XtSetArg[args[n], XmNitems, str_months] n++
XtSetArg[args[n], XmNitemC ...
/dl/417452.html
标签:
NULL
XtVaAppInitialize
toplevel
List
上传时间:
2013-12-21
上传用户:asdkin
-
//建立顶级窗口
toplevel = XtVaAppInitialize[&app, "Scroll", NULL, 0,
&argc, argv, NULL, NULL]
//建立SpinBox
n = 0
XtSetArg[args[n], XmNwidth, 400 ] n++
XtSetArg[args[n], XmNheight, 100 ] n++
//XtSetArg[args[n], XmNarrowLayout, XmARROWS_FLAT_END] n++
XtSetArg[args[n], ...
/dl/419354.html
标签:
NULL
XtVaAppInitialize
toplevel
Scroll
上传时间:
2013-12-26
上传用户:fxf126@126.com
-
setlocale[LC_ALL, ""]
XtSetLanguageProc[NULL, NULL, NULL]
//建立顶级窗口
toplevel = XtVaAppInitialize[&app, "SpinBox", NULL, 0,
&argc, argv, NULL, NULL]
//建立SpinBox
n = 0
XtSetArg[args[n], XmNwidth, 400 ] n++
XtSetArg[args[n], XmNheight, 100 ] n++
//XtSetArg[arg ...
/dl/419353.html
标签:
NULL
XtSetLanguageProc
setlocale
toplevel
上传时间:
2017-03-25
上传用户:lmeeworm