Location:
Search - setlocale
Search list
Description: 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[args[n], XmNarrowLayout, XmARROWS_FLAT_END] n++
XtSetArg[args[n], XmNrepeatDelay, 0] n++
//XtSetArg[args[n], XmNarrowOrientation, XmHORIZONTAL] n++
spinbox = XmCreateSpinBox[toplevel, "SpinBox", args, n]
XtManageChild[spinbox]
XtAddCallback [spinbox, XmNvalueChangedCallback,
[XtCallbackProc]ValueChanged, [XtPointer]NULL]
XtAddCallback [spinbox, XmNmodifyVerifyCallback,
[XtCallbackProc]ModifyVerify, [XtPointer]NULL]
-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[args[n], XmNarrowLayout, XmARROWS_FLAT_END] n++
XtSetArg[args[n], XmNrepeatDelay, 0] n++
//XtSetArg[args[n], XmNarrowOrientation, XmHORIZONTAL] n++
spinbox = XmCreateSpinBox[toplevel, "SpinBox", args, n]
XtManageChild[spinbox]
XtAddCallback [spinbox, XmNvalueChangedCallback,
[XtCallbackProc]ValueChanged, [XtPointer]NULL]
XtAddCallback [spinbox, XmNmodifyVerifyCallback,
[XtCallbackProc]ModifyVerify, [XtPointer]NULL]
Platform: |
Size: 2048 |
Author: xiaoran1 |
Hits:
Description: 这是一个setlocale()用来配置地域的信息的程序-This is a setlocale () is used to configure the regional information program
Platform: |
Size: 468992 |
Author: 胡冠华 |
Hits:
Description: Remove tests setlocale() to other than , C , and POSIX for Android.
-Remove tests setlocale() to other than , C , and POSIX for Android.
Platform: |
Size: 3072 |
Author: nepgqer |
Hits: