radiobuttons.xmcwp.lib

来自「su 的源代码库」· LIB 代码 · 共 29 行

LIB
29
字号
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 + =
减小字号Ctrl + -
显示快捷键?