ListBox

ListBoxGetSBlock

Return the callback for changes to the selected item

Syntax

Signature
ListBoxBlock ListBoxGetSBlock( const ListBox *listBox );

Return value

The stored ListBoxBlock, or NULL if no selection callback is set or the object is NULL.

Description

The callback receives the list. Use `ListBoxGetBuffer()` inside it to read the new selection.

See also