Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!jpl-devvax!david From: david@jpl-devvax.JPL.NASA.GOV (David E. Smyth) Newsgroups: comp.windows.x.motif Subject: Re: How do you set up a radio box? Message-ID: <9029@jpl-devvax.JPL.NASA.GOV> Date: 6 Aug 90 18:40:29 GMT References: <1990Aug3.062040.3237@motcad.portal.com> Reply-To: david@jpl-devvax.JPL.NASA.GOV (David E. Smyth) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 31 jtc@motcad.portal.com (J.T. Conklin) writes: }I am trying to prototype a user interface using motif/uil and am }having trouble building a radio box. ... } type_box: XmRadioBox { } controls { } XmToggleButton type_drawing; } XmToggleButton type_half_photograph; } XmToggleButton type_gray_photograph; } }; } }; } }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 You can only use XmToggleButtonGadgets as children of XmRowColumn widgets constructed via XmCreateRadioBox, which is what (I assume) UIL is invoking here. ------------------------------------------------------------------------- David Smyth david@jpl-devvax.jpl.nasa.gov Senior Software Engineer, seismo!cit-vax!jpl-devvax!david X and Object Guru. (818)393-0983 Jet Propulsion Lab, M/S 230-103, 4800 Oak Grove Drive, Pasadena, CA 91109 --------------------------- Quote of the Day: --------------------------- "A Guru is not one who simply knows all the answers. Rather, a Guru is like one who walks among the mountains, and by wandering around abit, can see the horizon through long narrow canyons." -------------------------------------------------------------------------