X Motif Scale

Dear Developers

I am a newbie to Motif developement.
I need your help in my requirement.

In a form i have 3 scale and when the slides or changes the scale value i need to take only the changed values.
For example : if the user slides the scale 1 to a value of 5 then other two scales will be in 0 and 0 .Because the user didnot touched the other two scales.

And while getValues, i want to process only the users really changed.I don't want to take the values of the scales if it is not changed by the user.

If anyone came across the same kindly help. :D

waheed.rahuman@gmail.com

Thank you
Waheed


Yuriy Syrota

Yuriy Syrota's picture

Re: X Motif Scale

Waheed,

XmScale widget has a callback named XmNvalueChangedCallback. It is called on value changing. Is it the solution you are looking for?