Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!apple!portal!motcad!motcad.portal.com!jtc From: jtc@motcad.portal.com (J.T. Conklin) Newsgroups: comp.windows.x.motif Subject: How do you set up a radio box? Message-ID: <1990Aug3.062040.3237@motcad.portal.com> Date: 3 Aug 90 06:20:40 GMT Sender: jtc@motcad.portal.com (J.T. Conklin) Organization: CADnet Inc., San Ramon CA Lines: 42 I am trying to prototype a user interface using motif/uil and am having trouble building a radio box. The example on page III.6-27 of the Motif Programmer's Guide seems to indicate that the following code will work: . . . type_box: XmRadioBox { controls { XmToggleButton type_drawing; XmToggleButton type_half_photograph; XmToggleButton type_gray_photograph; }; }; type_drawing: XmToggleButton { arguments { XmNlabelString = 'Drawing'; }; }; . . . Which it does, but it also prints the following warning message: X Toolkit Warning: Name: type_box Class: XmRowColumn Attempt to add wrong type child to a homogeneous RowColumn Widget Is my code and the example in the book wrong, or is my Motif Implementation broken? Thanks, --jtc -- J.T. Conklin CADnet Inc, San Ramon California jtc@motcad.portal.com, ...!portal!motcad!jtc