Haiku API Bindings
scroll_bar_info
Not logged in

Documentation | InterfaceKit | scroll_bar_info

DESCRIPTION

Exposes the C++ scroll_bar_info struct as a native map.

FIELDS

proportional

A boolean; if true, the size of the knob should be proportional. The system default is true.

double_arrows

A boolean; if true, double arrows appear at each end of the scrollbar (allowing scrolling in either direction); if false, only a single arrow (allowing scrolling in only one direction) appears at each end. The system default is true.

knob

In BeOS, this allowed you to choose one of three patterns for the scroll bar knob. In Haiku, you can set a color for the scroll bar knob, so this value is no longer used.

However, it is still validated. Valid values are 0, 1, and 2. The system default is 1.

min_knob_size

This is the minimum size of a proportional knob and the size of a non-proportional knob. The system default is 15.