[comp.windows.x.motif] how to set XmNselectedItems in resource file?

chapman@lll-crg.llnl.gov (Carol Chapman) (06/07/91)

Could someone please show me how to set the XmNselectedItems resource
of a list widget from within a resource file?  Let's say the list time_list
contains the words hours, minutes, seconds and I want it to pop up
with minutes already selected as the default.

thank you,
carol



Carol Chapman                                        Tel. (415) 423-7876
Livermore National Laboratory                        chapman@llnl.gov
P. O. Box 808, L-572            "The future's so bright,
Livermore, CA  94550             I gotta wear shades..." -- Timbuk3

meeks@osf.org (W. Scott Meeks) (06/07/91)

>Date: 6 Jun 91 17:41:46 GMT
>From: lll-crg.llnl.gov@lll-winken.llnl.gov  (Carol Chapman)
>
>Could someone please show me how to set the XmNselectedItems resource
>of a list widget from within a resource file?  Let's say the list time_list
>contains the words hours, minutes, seconds and I want it to pop up
>with minutes already selected as the default.

*time_list*items:				hours, minutes, seconds
*time_list*item_count:			3
*time_list*selectedItems:		minutes
*time_list*selectedItemCount:		1

W. Scott Meeks           
Open Software Foundation 
meeks@osf.org            
(617) 621-7229