Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ RectObj(3Xm) — RISC iX 1.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Object(3Xm)

RectObj(3Xm)  —  UNIX Programmer’s Manual

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 lower case or upper case, 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 Class Type Default Access
XmNancestorSensitive XmCSensitive Boolean XtCopyFromParent CSG
XmNborderWidth XmCBorderWidth Dimension 1 CSG
XmNheight XmCHeight Dimension 0 CSG
XmNsensitive XmCSensitive Boolean True CSG
XmNwidth XmCWidth Dimension 0 CSG
XmNx XmCPosition Position 0 CSG
XmNy XmCPosition Position 0 CSG

XmNancestorSensitive
Specifies whether the immediate parent of the gadget will receive input events. Use the function XtSetSensitive if you are changing the argument to preserve data integrity (see XmNsensitive below). 

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

XmNheight
Specifies the height of the RectObj’s rectangular display area.

XmNsensitive
Determines whether a RectObj will receive input events. If a RectObj is sensitive, the parent will dispatch 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.  If a parent widget has XmNsensitive set to False, the ancestor-sensitive flag of all its children is appropriately set. 

XmNwidth
Contains the width of the RectObj’s rectangular display area.

XmNx
Contains the x-coordinate of the gadget’s upper left-hand corner in relation to its parent’s window.

XmNy
Contains the y-coordinate of the gadget’s upper left-hand corner in relation to its parent’s 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 Class Type Default Access
XmNdestroyCallback XmCCallback XtCallbackList NULL C

RELATED INFORMATION

Object(3Xm). 

7th Edition

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