Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
EZ_SetScrollbarDiscreteSpeed(3)	EZWGL FunctionsEZ_SetScrollbarDiscreteSpeed(3)

NAME
       EZ_SetScrollbarDiscreteSpeed   -	 set the discrete scrolling speed of a
       scrollbar

SYNOPSIS
       #include	<EZ.h>

       int EZ_SetScrollbarDiscreteSpeed(EZ_Widget *scrollbar, int speed)

ARGUMENTS
       scrollbar  Specifies a scrollbar	widget.

       speed  Specifies	a positive integer.

DESCRIPTION
       EZ_SetScrollbarDiscreteSpeed sets the discrete  scrolling  speed	 of  a
       scrollbar.  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 scrollbar is in focus.

       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 ALSO
       EZ_SetHScrollbarDiscreteSpeed(3),     EZ_SetVScrollbarDiscreteSpeed(3),
       EZ_GetScrollbarState(3)

EZWGL					       EZ_SetScrollbarDiscreteSpeed(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=EZ_SetScrollbarDiscreteSpeed&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help