Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!bacchus.pa.dec.com!decuac!ufp.dco.dec.com!murphy From: murphy@ufp.dco.dec.com (Rick Murphy) Newsgroups: comp.windows.x.motif Subject: Re: XmNentryCallback again... Message-ID: <1990Aug23.105841@ufp.dco.dec.com> Date: 23 Aug 90 15:04:16 GMT References: <9008220718.AA26170@turnpike.Eng.Sun.COM> Sender: guest@decuac.DEC.COM Reply-To: murphy@ufp.dco.dec.com Distribution: inet Organization: Digital Equipment Corporation, Landover MD Lines: 24 In article <9008220718.AA26170@turnpike.Eng.Sun.COM>, argv@Eng.Sun.COM (Dan Heller) writes: >BTW, I've noticed that ToggleButton GADGETS don't work for >XmToggleButtonGetState. > >XmToggleButtonSetState always seems to coredump as well whether >the toggle button is a widget or a gadget. > >--dan > I use XmToggleButtonGadgetSetState.. works for me. I don't know if the non-gadget variant works; also, I seem to recall that doing a XmToggleButtonSetState on a gadget dies - you need to use the gadget/non-gadget variant to make it work. (The news reader this is written from uses XmToggle...etc) -Rick -- Rick Murphy, WA1SPT/4 Digital Equipment, Landover, MD murphy@ufp.dec.com UFP stands for United Federation decwrl! of Planets - not what *you* were decuac!ufp.dec.com!murphy thinking! Disclaimer: I don't even speak for myself - my wife does!