Specifications

Athena Widget Set libXaw 1.0.7
minimumDelay The minimum time between callbacks in milliseconds.
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.
repeatDelay The number of milliseconds between each callback after the first (minus
an increasing number of decays).
resize Specifies whether the widget should attempt to resize to its preferred
dimensions wheneverits resources are modified with XtSetValues.This
attempt to resize may be denied by the parent of this widget. The parent
is always free to resize the widget regardless of the state of this 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.
shapeStyle Nonrectangular widgets may be created using this resource. Nonrectan-
gular widgets are supported only on a server that supports the Shape
Extension.Ifnonrectangular widgets are specified for a server lacking
this extension, the shape is ignored and the widgets will be rectangular.
The following shapes are currently supported: XmuShapeRectangle,
XmuShapeOval, XmuShapeEllipse,and XmuShapeRoundedRectan-
gle.Aconverter is registered for this resource that will convert the fol-
lowing strings: rectangle, oval, ellipse, and roundedRectangle.
startCallback The list of functions to invoke bythe start action (typically when the
Repeater button is first pressed). The callback data parameter is set to
NULL.
stopCallback The list of functions to invoke bythe stop action (typically when the
Repeater button is released). The callback data parameter is set to
NULL.
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.6.2. Repeater Actions
The Repeater widget supports the following actions beyond those of the Command button:
start() This invokesthe functions on the startCallback and callback lists and
sets a timer to go offin initialDelay milliseconds. The timer will cause
the callback functions to be invokedwith increasing frequencyuntil the
stop action occurs.
stop() This invokesthe functions on the stopCallback list and prevents anyfur-
ther timers from occuring until the next start action.
The following are the default translation bindings used by the Repeater widget:
<EnterWindow>: highlight( )
<LeaveWindow>: unhighlight( )
<Btn1Down>: set( )start( )
40