head 1.1;
branch 1.1.1;
access;
symbols
netbsd-10-1-RELEASE:1.1.1.3
libXaw-1-0-16:1.1.1.4
netbsd-8-3-RELEASE:1.1.1.2
netbsd-9-4-RELEASE:1.1.1.2
netbsd-10-0-RELEASE:1.1.1.3
netbsd-10-0-RC6:1.1.1.3
netbsd-10-0-RC5:1.1.1.3
netbsd-10-0-RC4:1.1.1.3
netbsd-10-0-RC3:1.1.1.3
netbsd-10-0-RC2:1.1.1.3
netbsd-10-0-RC1:1.1.1.3
libXaw-1-0-15:1.1.1.4
netbsd-10:1.1.1.3.0.2
netbsd-10-base:1.1.1.3
netbsd-9-3-RELEASE:1.1.1.2
netbsd-9-2-RELEASE:1.1.1.2
libXaw-1-0-14:1.1.1.3
netbsd-9-1-RELEASE:1.1.1.2
netbsd-8-2-RELEASE:1.1.1.2
netbsd-9-0-RELEASE:1.1.1.2
netbsd-9-0-RC2:1.1.1.2
netbsd-9-0-RC1:1.1.1.2
netbsd-9:1.1.1.2.0.12
netbsd-9-base:1.1.1.2
netbsd-8-1-RELEASE:1.1.1.2
netbsd-8-1-RC1:1.1.1.2
netbsd-7-2-RELEASE:1.1.1.2
netbsd-8-0-RELEASE:1.1.1.2
netbsd-8-0-RC2:1.1.1.2
netbsd-8-0-RC1:1.1.1.2
netbsd-7-1-2-RELEASE:1.1.1.2
netbsd-7-1-1-RELEASE:1.1.1.2
netbsd-8:1.1.1.2.0.10
netbsd-8-base:1.1.1.2
netbsd-7-1:1.1.1.2.0.8
netbsd-7-1-RELEASE:1.1.1.2
netbsd-7-1-RC2:1.1.1.2
netbsd-7-1-RC1:1.1.1.2
netbsd-7-0-2-RELEASE:1.1.1.2
netbsd-7-0-1-RELEASE:1.1.1.2
netbsd-7-0:1.1.1.2.0.6
netbsd-7-0-RELEASE:1.1.1.2
netbsd-7-0-RC3:1.1.1.2
netbsd-7-0-RC2:1.1.1.2
libXaw-1-0-13:1.1.1.2
netbsd-7-0-RC1:1.1.1.2
netbsd-6-0-6-RELEASE:1.1.1.1
netbsd-6-1-5-RELEASE:1.1.1.1
netbsd-7:1.1.1.2.0.4
netbsd-7-base:1.1.1.2
netbsd-6-1-4-RELEASE:1.1.1.1
netbsd-6-0-5-RELEASE:1.1.1.1
riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.2
libXaw-1-0-12:1.1.1.2
riastradh-drm2:1.1.1.2.0.2
riastradh-drm2-base:1.1.1.2
netbsd-6-1-3-RELEASE:1.1.1.1
netbsd-6-0-4-RELEASE:1.1.1.1
netbsd-6-1-2-RELEASE:1.1.1.1
netbsd-6-0-3-RELEASE:1.1.1.1
netbsd-6-1-1-RELEASE:1.1.1.1
libXaw-1-0-11:1.1.1.2
netbsd-6-1:1.1.1.1.0.6
netbsd-6-0-2-RELEASE:1.1.1.1
netbsd-6-1-RELEASE:1.1.1.1
netbsd-6-1-RC4:1.1.1.1
netbsd-6-1-RC3:1.1.1.1
netbsd-6-1-RC2:1.1.1.1
netbsd-6-1-RC1:1.1.1.1
netbsd-6-0-1-RELEASE:1.1.1.1
netbsd-6-0:1.1.1.1.0.4
netbsd-6-0-RELEASE:1.1.1.1
netbsd-6-0-RC2:1.1.1.1
netbsd-6-0-RC1:1.1.1.1
netbsd-6:1.1.1.1.0.2
netbsd-6-base:1.1.1.1
libXaw-1-0-9:1.1.1.1
libXaw-1-0-8:1.1.1.1
xorg:1.1.1;
locks; strict;
comment @# @;
1.1
date 2010.11.21.05.47.28; author mrg; state Exp;
branches
1.1.1.1;
next ;
1.1.1.1
date 2010.11.21.05.47.28; author mrg; state Exp;
branches;
next 1.1.1.2;
1.1.1.2
date 2013.05.31.00.34.37; author mrg; state Exp;
branches;
next 1.1.1.3;
commitid USVyWKbDjF2swIRw;
1.1.1.3
date 2021.04.26.21.23.19; author mrg; state Exp;
branches;
next 1.1.1.4;
commitid HL9nhJwXbuukDQQC;
1.1.1.4
date 2023.03.23.05.25.48; author mrg; state Exp;
branches;
next ;
commitid x6KEx9eur96NXciE;
desc
@@
1.1
log
@Initial revision
@
text
@Repeater Widget
Application header file <X11/Xaw/Repeater.h>
Class header file <X11/Xaw/RepeaterP.h>
Class repeaterWidgetClass
Class Name Repeater
Superclass Command
The Repeater widget is a subclass of the Command widget; see the
Command documentation for details. The difference is that the Repeater can call its
registered callbacks repeatedly, at an increasing rate. The default translation
does so for the duration the user holds down pointer button 1 while the pointer
is on the Repeater.
Resources
When creating a Repeater widget instance, the following resources are
retrieved from the argument list or from the resource database:
NameClassTypeNotesDefault ValueacceleratorsAcceleratorsAcceleratorTableNULLancestorSensitiveAncestorSensitiveBooleanDTruebackgroundBackgroundPixelXtDefaultBackgroundbackgroundPixmapPixmapPixmapXtUnspecifiedPixmapbitmapBitmapPixmapNoneborderColorBorderColorPixelXtDefaultForegroundborderPixmapPixmapPixmapXtUnspecifiedPixmapborderWidthBorderWidthDimension1callbackCallbackXtCallbackListNULLcolormapColormapColormapParent's ColormapcornerRoundPercentCornerRoundPercentDimension25cursorCursorCursorNonecursorNameCursorStringNULLdecayDecayInt5depthDepthintCParent's DepthdestroyCallbackCallbackXtCallbackListNULLencodingEncodingUnsignedCharXawTextEncoding8bitflashBooleanBooleanFalsefontFontXFontStructXtDefaultFontfontSetFontSetXFontSetXtDefaultFontSetforegroundForegroundPixelXtDefaultForegroundheightHeightDimensionAgraphic height + 2 * internalHeighthighlightThicknessThicknessDimensionA2 (0 if Shaped)initialDelayDelayInt200insensitiveBorderInsensitivePixmapGreyPixmapinternalHeightHeightDimension2internalWidthWidthDimension4internationalInternationalBooleanCFalsejustifyJustifyJustifyXtJustifyCenter (center)labelLabelStringname of widgetleftBitmapLeftBitmapBitmapNonemappedWhenManagedMappedWhenManagedBooleanTrueminimumDelayMinimumDelayInt10pointerColorForegroundPixelXtDefaultForegroundpointerColorBackgroundBackgroundPixelXtDefaultBackgroundrepeatDelayDelayInt50resizeResizeBooleanTruescreenScreenPointerRParent's ScreensensitiveSensitiveBooleanTrueshapeStyleShapeStyleShapeStyleRectanglestartCallbackStartCallbackCallbackNULLstopCallbackStopCallbackCallbackNULLtranslationsTranslationsTranslationTableSee belowwidthWidthDimensionAgraphic width + 2 * internalWidthxPositionPosition0yPositionPosition0
\" Resource Descriptions
decay
The number of milliseconds that should be subtracted from each succeeding
interval while the Repeater button is being held down until the interval
has reached minimumDelay milliseconds.
flash
Whether or not to flash the Repeater button whenever the timer goes off.
initialDelay
The number of milliseconds between the beginning of the Repeater button
being held down and the first invocation of the callback function.
minimumDelay
The minimum time between callbacks in milliseconds.
repeatDelay
The number of milliseconds between each callback after the first (minus an
increasing number of decays).
startCallback
The list of functions to invoke by the 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 by the stop action (typically
when the Repeater button is released). The callback data parameter
is set to NULL.
Repeater Actions
The Repeater widget supports the following actions beyond those of the Command
button:
start()
This invokes the functions on the startCallback and callback lists
and sets a timer to go off in initialDelay milliseconds. The timer
will cause the callback functions to be invoked with increasing
frequency until the stop action occurs.
stop()
This invokes the functions on the stopCallback list and prevents any
further 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(\|)
<Btn1Up>: stop(\|) unset(\|)
@
1.1.1.1
log
@initial import of libXaw-1.0.8
@
text
@@
1.1.1.2
log
@initial import of libXaw-1.0.11
@
text
@d30 1
a30 1
@
1.1.1.3
log
@initial import of libXaw-1.0.14
@
text
@d6 1
a6 1
Repeater widget
d12 1
a12 1
Repeater.h
d14 1
a14 1
RepeaterP.h
d16 1
a16 1
repeaterWidgetClass
d18 1
a18 1
Repeater widgetclass name
d24 2
a25 3
The Repeater widget is a subclass of the Command widget; see the
Command documentation
for details. The difference is that the Repeater can call its
d39 1
a39 1
Repeater widgetresources
d503 1
a503 1
Repeater widgetactions
d538 1
a538 1
Repeater widgettranslation bindings
d547 4
a550 4
<EnterWindow>: highlight( )
<LeaveWindow>: unhighlight( )
<Btn1Down>: set( ) start( )
<Btn1Up>: stop( ) unset( )
@
1.1.1.4
log
@initial import of libXaw-1.0.15
@
text
@d530 1
a530 1
further timers from occurring until the next start action.
@