Arrow widget

Application Header file <Xraw/Arrow.h>
Class Header file <Xraw/ArrowP.h>
Class arrowWidgetClass
Class Name Arrow
Superclass Repeater --> Command --> Simple --> Core

    The Arrow widget is a version of the Command button that triggers at an increasing rate while it is held down and it has a image of a directional arrow.

Arrows Faces


New Resources

Name Class Type Notes Default Value
arrowShadow ArrowShadow Dimension CSG 2
direction Direction XawDirection CSG XawTop
arrowShadow Specifies the width of arrow surrounding border.
direction Specifies the direction of arrow. The value may be one from XawTop, XawBottom, XawLeft, XawRight . In resource file it must be
Arrow*Direction:top ,
Arrow*Direction:bottom ,
Arrow*Direction:left ,
Arrow*Direction:right (case insensitive).


Callback Information

This version of Arrow widget does not define a callback structure.

Arrow Actions

The Arrow widget supports the following actions beyond
actions of the Command widget and actions of the Repeater widget:
push_down This redraws the image of arrow to make an illusion the arrow is pressed.
push_up This redraws the image of arrow in "cool" state.

The following are the default translation bindings used by the Arrow widget:

	<Btn1Down>:	push_down() start()
	<Btn1Up>:	push_up()   stop()

Convenience Routines

This version of Arrow widget does not define any convenience routine.

[ Xraw home ]   [ Xraw widget class hierarchy ]


Vladimir T. Romanovski
romsky@hp1.oea.ihep.su