Specifications
Athena Widget Set libXaw 1.0.7
borderWidth The width of this widget’swindowborder.
callback All routines on this list are called wheneverthe GripAction action rou-
tine is invoked. The call_data contains all information passed to the
action routine. Adetailed description is givenbelowinthe Grip Actions
section.
colormap The colormap that this widget will use.
cursor The image that will be displayed as the pointer cursor wheneveritisin
this widget. The use of this resource is deprecated in favorof cursor-
Name.
cursorName The name of the symbol to use to represent the pointer cursor.This
resource will override the cursor resource if both are specified. (See
2.4.1)
depth The depth of this widget’swindow.
destroyCallback All functions on this list are called when this widget is destroyed.
foreground Apixel value which indexesthe widget’scolormap to derive the color
used to flood fill the entire Grip widget.
height
width The height and width of this widget in pixels.
insensitiveBorder This pixmap will be tiled into the widget’sborder if the widget becomes
insensitive.
international This is a boolean flag, only settable at widget creation time. While not
utilized in this widget, it can and should be checked by anysubclasses
that have behavior that should vary with locale.
mappedWhenManaged If this resource is True,then the widget’swindowwill automatically be
mapped by the Toolkit when it is realized and managed.
pointerColor A pixel value which indexesthe widget’scolormap to derive the fore-
ground color of the pointer symbol specified by the cursorName
resource.
pointerColorBackground A pixel value which indexesthe widget’scolormap to derive the
background color of the pointer symbol specified by the cursor-
Name resource.
screen The screen on which this widget is displayed. This is not a settable
resource.
sensitive Whether or not the toolkit should pass user events to this widget. The
widget will not get input events if either ancestorSensitive or sensitive is
False.
translations The ev e nt bindings associated with this widget.
x
yThe location of the upper left outside corner of this widget in its parent.
3.2.2. Grip Actions
The Grip widget does not declare anydefault event translation bindings, but it does declare a sin-
gle action routine named GripAction.The client specifies an arbitrary event translation table,
optionally giving parameters to the GripAction routine.
The GripAction routine executes the callbacks on the callback list, passing as call_data apointer
to a XawGripCallData structure, defined in the Grip widget’sapplication header file.
typedef struct _XawGripCallData {
24