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

FreeBSD Manual Pages

  
 
  

home | help
EZ_GetScrollbarState(3)		EZWGL Functions	       EZ_GetScrollbarState(3)

NAME
       EZ_GetScrollbarState,  EZ_UpdateScrollbar - set and get the states of a
       scroll bar

SYNOPSIS
       #include	<EZ.h>

       void EZ_GetScrollbarState(EZ_Widget *scrollbar,
	     int *totalsize_ret, int *pagesize_ret, int	*start_ret)

       void EZ_UpdateScrollbar(EZ_Widget *scrollbar,
	      int totalsize, int pagesize, int start)

ARGUMENTS
       scrollbar  Specifies a scrollbar	widget.

       totalsize_ret  Specifies	a return for the total size of the object con-
       trolled by the scrollbar.

       pagesize_ret  Specifies a return	for the	page size.

       start_ret  Specifies a return for the start position.

       totalsize   Specifies  a	the total size of the object controlled	by the
       scrollbar.

       pagesize	 Specifies the page size.

       start  Specifies	the start position.

DESCRIPTION
       A scrollbar controls the	portion	of an object to	be displayed in	a wid-
       get  window. The	state of a scrollbar consists of three parameters: The
       total size of the object, the page size of the widget  window  and  the
       starting	 location of the displayed page	relative to the	starting point
       of the object. The displayed page is the	segment
	    [start, start+pagesize]
       in object.

       EZ_GetScrollbarState returns the	state of a scrollbar.

       EZ_UpdateScrollbar sets the state of a scrollbar.

SEE ALSO
       EZ_CreateWidget(3)

EZWGL						       EZ_GetScrollbarState(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_GetScrollbarState&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help