DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmScrollBarGetValues(X3mot)


XmScrollBarGetValues -- a ScrollBar function that returns the ScrollBar's increment values

Synopsis

#include <Xm/ScrollBar.h>

void XmScrollBarGetValues (widget, value_return, slider_size_return, increment_return, page_increment_return) Widget widget; int * value_return; int * slider_size_return; int * increment_return; int * page_increment_return;

Description

XmScrollBarGetValues returns the ScrollBar's increment values. The scroll region is overlaid with a slider bar that is adjusted in size and position using the main ScrollBar or set slider function attributes.

widget
Specifies the ScrollBar widget ID.

value_return
Returns the ScrollBar's slider position between the XmNminimum and XmNmaximum resources.

slider_size_return
Returns the size of the slider as a value between zero and the absolute value of XmNmaximum minus XmNminimum. The size of the slider varies, depending on how much of the slider scroll area it represents.

increment_return
Returns the amount of increment and decrement.

page_increment_return
Returns the amount of page increment and decrement.

For a complete definition of ScrollBar and its associated resources, see XmScrollBar(X3mot).

Return values

Returns the ScrollBar's increment values.

References

XmScrollBar(X3mot)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004