📄 radiobuttons.xmcwp.lib
字号:
RADIOBUTTONS - convenience functions creating and using radio buttonsXtcwpCreateStringRadioButtons create an XmFrame containing radio buttons labeled with stringsFunction Prototypes:Widget XtcwpCreateStringRadioButtons (Widget parent, char *label, int nstrings, char **strings, int first, void (*callback)(int selected, void *clientdata), void *clientdata);Input:parent parent widgetlabel label for this collection of radio bottonsnstrings number of stringsstrings array[nstrings] of character strings, one per buttonfirst index of button to be initially selectedcallback function called when radio buttons change stateclientdata pointer to client data to be passed to callbackNotes:This code depends on the Motif Developer's Package.An integer index of the selected button (along with the clientdata pointer)is passed to the callback function.The returned XmFrame is not managed.Author: Dave Hale, Colorado School of Mines, 08/28/90
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -