Events sequence

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
Events sequence

Submitted by Anonymous on Fri, 04/11/2003 - 11:35.

Hi,
may you explain me what is the events sequence that is called
when I set the sensitivity of a pushbutton or a togglebutton to false (or true)?

Sun, 04/13/2003 - 15:39#1

Sun, 04/13/2003 - 15:39#1

Anonymous

Events sequence

to my knowledge there is no event activated when pushbutton sensitivity is put off or on.
but for togglebutton, yes XmNvalueChanged callback if specified fires up,
to avoid this you can use XmToggleButtoSetState(widget, false, false), where the third parameter stops the callback being fired.

 

Mon, 04/14/2003 - 12:38#2

Mon, 04/14/2003 - 12:38#2

Anonymous

Events sequence

Sorry, I should say `Actions Sequence` like Arm,Disarm,MapNotify,...

Mon, 04/14/2003 - 17:42#3

Mon, 04/14/2003 - 17:42#3

ICS_support

Events sequence

The action procedures that internally correspond to those names are not necessarily triggered, either.

The problem is that the toggle has several different mechanisms to change its appearance user interaction; widget-specific calls done by the program; and general Xt mechanisms done by the program. The internal code paths are different depending on how the toggle code got there. The final step is the redrawing of the widget and its rendering by the X server.