klee@daisy.UUCP (Ken Lee) (04/15/89)
I'm having a problem with the Athena toggle widget (beta version) posted by Chris Peterson. I'm using the normal mode (radioWidget == NULL) with X11R3 on a Sun 386i (SunOS 4.0.1). When the user mouses on the toggle widget, it inverts it's colors. If (at a much later point in time) my program does an XtSetValues on XtNstate to False, the toggle does not invert back. Physically mousing on the widget again inverts it back. If, instead, I XtSetValues XtNstate to True then XtSetValues XtNstate to False, however, the toggle widget inverts properly both times. I haven't run this through a debugger, but a callback function attached to the toggle widget reports the expected toggle state values. Is there a problem with SetValues in the toggle widget? Thanks much for any info. -- Ken Lee Daisy Systems Corp., Interactive Graphics Tools Dept. Internet and Smail: klee@daisy.uucp uucp: uunet!daisy!klee