Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RectObj(3X)  —  OSF/Motif

NAME

RectObj − The RectObj widget class

SYNOPSIS

#include <Xm/Xm.h>

DESCRIPTION

RectObj is never instantiated.  Its sole purpose is as a supporting superclass for other widget classes. 

Classes

RectObj inherits behavior and a resource from Object. 

The class pointer is rectObjClass. 

The class name is RectObj. 

New Resources

The following table defines a set of widget resources used by the programmer to specify data.  The programmer can also set the resource values for the inherited classes to set attributes for this widget.  To reference a resource by name or by class in a .Xdefaults file, remove the XmN or XmC prefix and use the remaining letters.  To specify one of the defined values for a resource in a .Xdefaults file, remove the Xm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words).  The codes in the access column indicate if the given resource can be set at creation time (C), set by using XtSetValues (S), retrieved by using XtGetValues (G), or is not applicable (N/A). 

RectObj Resource Set
Name Default Access
      Class       Type
XmNancestorSensitive dynamic G
      XmCSensitive        Boolean
XmNborderWidth 1 CSG
      XmCBorderWidth        Dimension
XmNheight dynamic CSG
      XmCHeight        Dimension
XmNsensitive True CSG
      XmCSensitive        Boolean
XmNwidth dynamic CSG
      XmCWidth        Dimension
XmNx 0 CSG
      XmCPosition        Position
XmNy 0 CSG
      XmCPosition        Position

XmNancestorSensitive
Specifies whether the immediate parent of the gadget receives input events. Use the function XtSetSensitive if you are changing the argument to preserve data integrity (see XmNsensitive below).  The default is the bitwise AND of the parent’s XmNsensitive and XmNancestorSensitive resources. 

XmNborderWidth
Specifies the width of the border placed around the RectObj’s rectangular display area.

XmNheightSpecifies the inside height (excluding the border) of the RectObj’s rectangular display area. 

XmNsensitive
Determines whether a RectObj receives input events. If a RectObj is sensitive, the parent dispatches to the gadget all keyboard, mouse button, motion, window enter/leave, and focus events. Insensitive gadgets do not receive these events. Use the function XtSetSensitive to change the sensitivity argument.  Using XtSetSensitive ensures that if a parent widget has XmNsensitive set to False, the ancestor-sensitive flag of all its children is appropriately set. 

XmNwidthSpecifies the inside width (excluding the border) of the RectObj’s rectangular display area. 

XmNxSpecifies the x-coordinate of the upper left outside corner of the RectObj’s rectangular display area.  The value is relative to the upper left inside corner of the parent window. 

XmNySpecifies the y-coordinate of the upper left outside corner of the RectObj’s rectangular display area.  The value is relative to the upper left inside corner of the parent window. 

Inherited Resources

RectObj inherits behavior and a resource from Object.  For a description of this resource, refer to the Object man page. 

Object Resource Set
Name Default Access
      Class       Type
XmNdestroyCallback NULL C
      XmCCallback        XtCallbackList

Translations

There are no translations for RectObj. 

RELATED INFORMATION

Object(3X). 

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