EZ
Up Prev Next Contents


4.31 Scroll Button

A scroll button displays one or two arrows. When mouse button 1 (left button) is pressed over an arrow, its callbacks are invoked. The callbacks will be executed continuously as long as the mouse button 1 is pressed. A scroll button has one state variable, the number of times the callbacks has been executed since last button press.

Widget Info

Symbolic widget type EZ_WIDGET_SCROLL_BUTTON
Default class name "ScrollButton"
Default instance name "scrollButton"

Widget Interface Routines

int EZ_GetScrollButtonScrollCount(EZ_Widget *scrollButton);

returns the current signed scroll count.

Screenshot

Resources

Config_Option ResourceName DefaultValue
EZ_CLASS class "ScrollButton"
EZ_NAME name "scrollButton"

EZ_X x
EZ_Y y
EZ_WIDTH width
EZ_HEIGHT height

EZ_LOCATION location
EZ_SIZE size
EZ_GEOMETRY geometry

EZ_WIDTH_HINT widthHint
EZ_HEIGHT_HINT heightHint
EZ_SIZE_HINT sizeHint

EZ_BORDER_WIDTH borderWidth 0 or 2
EZ_BORDER_TYPE borderType none or sunken

EZ_EXPAND expand false
EZ_PROPAGATE propagate true
EZ_TRANSIENT transient false

EZ_CURSOR cursor "XC_left_ptr"
EZ_BUBBLE_STRING bubbleString null

EZ_FOREGROUND foreground "black"
EZ_BACKGROUND background "gray74
EZ_BG_IMAGE_FILE bgImageFile null
EZ_BG_PIXMAP N/A none
EZ_SHAPED_WINDOW shapedWindow false
EZ_SHAPE_FILE shapeFile NULL
EZ_SHAPE_PIXMAP N/A NULL

EZ_BG_IMAGE_FILE_B bgImageFileB null
EZ_BG_PIXMAP_B N/A none
EZ_CLIENT_PTR_DATA N/A null
EZ_CLIENT_INT_DATA clientIntData 0

EZ_CLIENT_PTR_DATA N/A null
EZ_CLIENT_INT_DATA clientIntData 0

EZ_SCROLL_TYPE scrollType int


Up Prev Next Contents

HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>