XtIsSensitive() XtIsSensitive()
Name
XtIsSensitive - check the current sensitivity state of a widget.
Synopsis
Boolean XtIsSensitive(object)
Widget object;
Inputs
object Specifies the object whose state is to be tested; may be of class Object or any subclass thereof.
Returns
True if the widget is sensitive; False otherwise.
Description
XtIsSensitive() returns True if object is a subclass of RectObj and both its sensitive and ancestor_sensitive fields are True. Otherwise,
it returns False.
Usage
An insensitive widget will not have user events dispatched to it, and may display itself specially (grayed out, for example) to indicate
this condition.
A widget's sensitivity is often checked by its parent. For example the parent may wish to determine whether it should should pass the key-
board focus to the child, or it may choose to make itself insensitive if all of its children become insensitive.
See Also
XtSetSensitive(1).
Xt - Object Information XtIsSensitive()