Name

RectObj(3X) — RectObj--The RectObj widget class RectObjwidget 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).

Name

Class

Type

Default

Access

XmNancestorSensitive

XmCSensitive

Boolean

dynamic

G

XmNborderWidth

XmCBorderWidth

Dimension

1

CSG

XmNheight

XmCHeight

Dimension

dynamic

CSG

XmNsensitive

XmCSensitive

Boolean

True

CSG

XmNwidth

XmCWidth

Dimension

dynamic

CSG

XmNx

XmCPosition

Position

0

CSG

XmNy

XmCPosition

Position

0

CSG


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.

XmNheight 

Specifies 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.

XmNwidth 

Specifies the inside width (excluding the border) of the RectObj's rectangular display area.

XmNx 

Specifies 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.

XmNy 

Specifies 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.

Name

Class

Type

Default

Access

XmNdestroyCallback

XmCCallback

XtCallbackList

NULL

C


Translations

There are no translations for RectObj.

RELATED INFORMATION

Object(3X).