[comp.windows.x.motif] Weird Behavior in Toggle Gadget

D_GONZALEZ@UPR1.UPR.CLU.EDU (04/20/91)

Hi:
	I have an application that uses a couple of toggle buttons childs
of a radio box.
	I have a function that is called every time the buttons change 
state. They seem to work properly except under one condition.
	If I click on one of them, my function will be called and when
I check the set field of the callback struct, it has the value expected.
	But, when I click again on the already activated toggle, it will
call my function with a set value of FALSE. I don't think this should be
the value since the visual toggle mark is still activated.

	Is this a bug on OSF/Motif or an undocumented behavior??

David Gonzalez		internet: d_gonzalez@upr1.upr.clu.edu
CEENET Lab Staff		   lestat@rmece01.upr.clu.edu
University of Puerto Rico
Mayaguez Campus -- Engineering School

P.S.   Sistem is an IBM RS6000 with AIXWindows + OSF/Motif 1.0 ??

nazgul@alfalfa.com (Information Junkie) (04/21/91)

> 	But, when I click again on the already activated toggle, it will
> call my function with a set value of FALSE. I don't think this should be
> the value since the visual toggle mark is still activated.
> 
> 	Is this a bug on OSF/Motif or an undocumented behavior??

I believe that's a known bug fixed in 1.1, but I could be wrong.

Alfalfa Software, Inc.          |       Poste:  The EMail for Unix
nazgul@alfalfa.com              |       Send Anything... Anywhere
617/646-7703 (voice/fax)        |       info@alfalfa.com

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.