Syntax
MenuItem *ButtonBarGetItem( const ButtonBar *buttonBar, int position );
Arguments
buttonBar the button bar.
position the one-based position of an existing item.
Return value
The menu item at position, or NULL if position is outside the bar or the object is NULL.
Description
The bar retains ownership of the returned item. Use the `MenuItem` setters to change its caption, shortcut or enabled state, then call `ButtonBarDisplay()` when you want to redraw.