Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!apollo!asuvax!ncar!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!sun-barr!newstop!sun!amdahl!netcom!albert From: asuvax!netcom!albert@ncar.UCAR.EDU (Albert Hui) Newsgroups: comp.windows.x.motif Subject: 3-State Button? Keywords: Subclass Message-ID: <4bcaaa2c.20b6d@apollo.HP.COM> Date: 24 Jul 90 18:46:00 GMT Sender: root@apollo.HP.COM Organization: NetCom- The Bay Area's Public Access Unix System {408 241-9760 guest} Lines: 6 Resent-From: nazgul@alphalpha.com (Kee Hinckley) e-Id: <9007242244.AA02794@alphalpha.com> To: comp-windows-x-motif@ncar.ucar.edu Resent-To: motif-tmp@alphalpha.com Resent-Date: Tue, 24 Jul 90 18:44:38 EDT I am trying to subclass a toggle button widget to create a 3-state button which has true and false states as well as a third neutral state. So far I have not had much luck. I have experienced crashes that seem to relate translation management and right now things seem to hang after the application calls XtMainLoop. Has anyone had experience subclassing the toggle button widget? Or has anyone written a 3-state button widget?