This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XtSetSensitive(3)                               XT FUNCTIONS                               XtSetSensitive(3)



NAME
       XtSetSensitive, XtIsSensitive - set and check a widget's sensitivity state

SYNTAX
       void XtSetSensitive(Widget w, Boolean sensitive);

       Boolean XtIsSensitive(Widget w);

ARGUMENTS
       sensitive Specifies a Boolean value that indicates whether the widget should receive keyboard and
                 pointer events.

       w         Specifies the widget.

DESCRIPTION
       The XtSetSensitive function first calls XtSetValues on the current widget with an argument list spec-ifying specifying
       ifying that the sensitive field should change to the new value.  It then recursively propagates the
       new value down the managed children tree by calling XtSetValues on each child to set the ances-tor_sensitive ancestor_sensitive
       tor_sensitive to the new value if the new values for sensitive and the child's ancestor_sensitive are
       not the same.

       XtSetSensitive calls 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).

       XtSetSensitive maintains the invariant that if parent has either sensitive or ancestor_sensitive
       False, then all children have ancestor_sensitive False.

       The XtIsSensitive function returns True or False to indicate whether or not user input events are
       being dispatched.  If both core.sensitive and core.ancestor_sensitive are True, XtIsSensitive returns
       True; otherwise, it returns False.

SEE ALSO
       X Toolkit Intrinsics - C Language Interface
       Xlib - C Language X Interface



X Version 11                                     libXt 1.0.5                               XtSetSensitive(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...