EZ_SetScrollbarDiscreteSpeed(3) EZWGL FunctionsEZ_SetScrollbarDiscreteSpeed(3)NAMEEZ_SetHScrollbarDiscreteSpeed - set the discrete scrolling speed of a
scrollbar
SYNOPSIS
#include <EZ.h>
int EZ_SetHScrollbarDiscreteSpeed(EZ_Widget *widget, int speed)
int EZ_SetVScrollbarDiscreteSpeed(EZ_Widget *widget, int speed)
ARGUMENTS
widget Specifies a scrollbar widget, a text-widget, a listbox, a
fancy-listbox, a tree-widget or a work-area widget.
speed Specifies a positive integer.
DESCRIPTIONEZ_SetHScrollbarDiscreteSpeed sets the discrete scrolling speed of the
horizontal scrollbar on the specified composite widget. The discrete
scrolling speed is used when the arrow button on the scrollbar is
pressed or one of the relevent arrow keys is pressed while the scroll‐
bar is in focus.
EZ_SetVScrollbarDiscreteSpeed sets the discrete scrolling speed of the
vertical scrollbar on the specified composite widget.
The default discrete scrolling speed is 1. The interpretation of this
speed depends on the context. For internal widgets that use scrollbars,
the meaning is following: for TextWidget and ListBox, the scrolling
unit is the height of a text line; for Fancy ListBox, TreeWidget,
WorkArea, the scrolling unit is one pixel.
This function returns the current discrete scrolling speed of the
scrollbar.
SEE ALSOEZ_SetScrollbarDiscreteSpeed(3), EZ_GetScrollbarState(3)EZWGLEZ_SetScrollbarDiscreteSpeed(3)