---
name: "XmScrollBarGetValues"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmScrollBarGetValues"
---

# XmScrollBarGetValues(3)

A ScrollBar function that returns the ScrollBar's increment values

## NAME

**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;
(void)
```

## DESCRIPTION

**XmScrollBarGetValues** returns the 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. Specify NULL to prevent the return of a particular value.

- *slider\_size\_return*

  Returns the size of the slider as a value between 0 (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**(3)](/XmScrollBar/3.md).

## RETURN

Returns the ScrollBar's increment values.

## RELATED

[**XmScrollBar**(3)](/XmScrollBar/3.md).
