Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmScrollBar(3Xm)

XmScrollBarGetValues(3Xm)  —  UNIX Programmer’s Manual

NAME

XmScrollBarGetValues — a ScrollBar function that returns the ScrollBar’s increment values and changes the slider’s size and position.

SYNOPSIS

#include <Xm/ScrollBar.h> void XmScrollBarGetValues (widget, value_return, slider_size_return, increment_return,

page_increment_return)
Widgetwidget;
int∗ value_return;
int∗ slider_size_return;
int∗ increment_return;
int∗ page_increment_return;

DESCRIPTION

XmScrollBarGetValues returns the the ScrollBar’s increment values and changes the slider’s size and position.  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. 

widgetSpecifies the ScrollBar widget ID. 

value_returnReturns the ScrollBar’s slider position between the XmNminimum and XmNmaximum resources to the ScrollBar widget. 

slider_size_returnReturns 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_returnReturns the amount of button increment and decrement. 

page_increment_returnReturns the amount of page increment and decrement. 

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

RETURN VALUE

Returns the ScrollBar’s increment values and changes the slider’s size and position. 

RELATED INFORMATION

XmScrollBar(3Xm). 

7th Edition

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026