Specifications

Athena Widget Set libXaw 1.0.7
The Grip widget provides a small rectangular region in which user input events (such as Button-
Press or ButtonRelease) may be handled. The most common use for the Grip widget is as an
attachment point for visually repositioning an object, such as the pane border in a Paned widget.
3.2.1. Resources
When creating a Grip widget instance, the following resources are retrievedfrom the argument
list or from the resource database:
Name Class Type Notes Default Value
accelerators Accelerators AcceleratorTable NULL
ancestorSensitive AncestorSensitive Boolean D True
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 0
callback Callback Callback NULL
colormap Colormap Colormap Parent’sColormap
cursor Cursor Cursor None
cursorName Cursor String NULL
depth Depth int C Parent’sDepth
destroyCallback Callback XtCallbackList NULL
foreground Foreground Pixel XtDefaultForeground
height Height Dimension 8
insensitiveBorder Insensitive Pixmap GreyPixmap
international International Boolean C False
mappedWhenManaged MappedWhenManaged Boolean True
pointerColor Foreground Pixel XtDefaultForeground
pointerColorBackground Background Pixel XtDefaultBackground
screen Screen Screen R Parent’sScreen
sensitive Sensitive Boolean True
translations Translations TranslationTable NULL
width Width Dimension 8
xPosition Position 0
yPosition Position 0
accelerators A list of event to action bindings to be executed by this widget, even
though the event occurred in another widget. (See the XToolkit Intrin-
sics — C Language Interface for details).
ancestorSensitive The sensitivity state of the ancestors of this widget. Awidget is insensi-
tive ifeither it or anyofits ancestors is insensitive.This resource should
not be changed with XtSetValues,although it may be queried.
background A pixel value which indexesthe widget’scolormap to derive the back-
ground color of the widget’swindow.
backgroundPixmap The background pixmap of this widget’swindow. Ifthis resource is set
to anything other than XtUnspecifiedPixmap,the pixmap specified will
be used instead of the background color.
borderColor A pixel value which indexesthe widget’scolormap to derive the border
color of the widget’swindow.
borderPixmap The border pixmap of this widget’swindow. Ifthis resource is set to
anything other than XtUnspecifiedPixmap,the pixmap specified will be
used instead of the border color.
23