Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtIsSensiti(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtSetSensitive(1)

 

NAME

XtIsSensitive − check the current sensitivity state of a widget. 

Synopsis

Boolean XtIsSensitive(object)

    Widget object;

Inputs

objectSpecifies 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 keyboard focus to the child, or it may choose to make itself insensitive if all of its children become insensitive. 

See Also

XtSetSensitive(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026