XltAnimatedButton(3X) XltAnimatedButton(3X)
NAME
XltAnimatedButton - The AnimatedButton widget class
SYNOPSIS
#include <Xlt/AnimatedButton.h>
DESCRIPTION
AnimatedButton is a sub-class of BubbleButton and inherits all of BubbleButton's functionality. The default value of the BubbleButton
resource XltNshowBubble is overridden to False. If you want a bubble for the AnimatedButton simple set this resource to True.
Next paragraph
Next paragraph
Classes
AnimatedButton inherits behavior and resources from Core, Primitive, Label, PushButton, and BubbleButton classes.
The class pointer is XltAnimatedButtonWidgetClass.
The class name is XltAnimatedButton.
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).
XltBubbleButton Resource Set
Name Class Type Default Access
---------------------------------------------------------------------------------------
XltNanimate XltCAnimate Boolean False CSG
XltNanimationLabels XltCAnimationLabels XmStringTable NULL CSG
XltNanimationLabelCount XltCAnimationLabelCount int 0 CSG
XltNanimationPixmaps XltCAnimationPixmaps Pixmap * NULL CSG
XltNanimationPixmapCount XltCAnimationPixmapCount int 0 CSG
XltNstopAtFrame XltCStopAtFrame int -1 CSG
XltNframeDelay XltCFrameDelay int 1000 CSG
XltNanimate
True when the animation is running.
XltNanimationLabels
The animation frames to show if the Button is of type XmSTRING
XltNanimationLabelCount
The number of strings in XltNanimationLabels
XltNanimationPixmaps
The animation frames to show if the Button is of type XmPIXMAP
XltNanimationPixmapCount
The number of strings in XltNanimationPixmaps
XltNstopAtFrame
The frame to stop the animation at. -1 for continuous.
XltNdelay
The number of milliseconds a frame is displayed.
Inherited Resources
AnimatedButton inherits behavior and resources from the following superclasses. For a complete description of each resource, refer to the
man page for that superclass.
BubbleButton Resource Set
Name Class Type Default Access
---------------------------------------
Behavior
XltAnimatedButton behavior is described below:
Virtual Bindings
The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see VirtualBindings(3X).
RELATED INFORMATION
XmBubbleButton(3X), XltCreateAnimatedButton(3X),
XltAnimatedButton(3X)