ScrollBar

ScrollBarGetSBlock

Return the callback used before moving the thumb

Syntax

Signature
ScrollBarBlock ScrollBarGetSBlock( const ScrollBar *scrollBar );

Return value

The stored ScrollBarBlock, or NULL if no update callback is set or the object is NULL.

Description

The callback receives the bar while the old thumb position is still stored. `ScrollBarUpdate()` calls it before recalculating the position.

See also