.\\$1D \\$2 \\$1 .if \\n(VS>=40 .vs \\n(VSu..
.if \\n(VS<=39 .vs \\n(VSp
..0 .nr BD 0
.KS .TA .5i 3i
...KE
.. .. .KS
.D
choose appropriate monospace font
the imagen conditional, 480,
may be changed to L if LB is too
heavy for your eyes...
.. .R .. .. .. .TB\\*(NO .R .. . \" Note End -- doug kraft 3/85
0 .. .ny0
XtSetSensitive 3Xt "Release 3" "X Version 11" "XT FUNCTIONS"NAMEXtSetSensitive, XtIsSensitive - set and check a widget's sensitivity stateSYNTAXvoid XtSetSensitive(w, sensitive)Widget w;
Boolean sensitive;
Boolean XtIsSensitive(w)
Widget w;
ARGUMENTSsensitive 1iSpecifies a Boolean value that indicates whether the widget should receive keyboard and pointer events.w 1iSpecifies the widget.DESCRIPTIONThe .ZN XtSetSensitive function first calls .ZN XtSetValues on the current widget with an argument list specifying that the sensitive field should change to the new value. It then recursively propagates the new value down the managed children tree by calling .ZN XtSetValues on each child to set the ancestor_sensitive to the new value if the new values for sensitive and the child's ancestor_sensitive are not the same..ZN XtSetSensitive calls .ZN XtSetValues to change sensitive and ancestor_sensitive. Therefore, when one of these changes, the widget's set_values procedure should take whatever display actions are needed (for example, greying out or stippling the widget).
.ZN XtSetSensitive maintains the invariant that if parent has either sensitive or ancestor_sensitive .ZN False , then all children have ancestor_sensitive .ZN False .
The .ZN XtIsSensitive function returns .ZN True or .ZN False to indicate whether or not user input events are being dispatched. If both core.sensitive and core.ancestor_sensitive are .ZN True , .ZN XtIsSensitive returns .ZN True ; otherwise, it returns .ZN False .
"SEE ALSO"\*(xT
\*(xL