How to get a handle to a toolbar item by id


I was trying to get a handle of a toolbar item by id, but was surprised not to find one.

In the doco there is only one API call that can get the item handle by position!

This is strange as I might add items as I go or re-arrange them and I don’t want to go and search the code to update an old code.

Is this something missing from the doco or it is indeed a missing API?


Sorry for inconvenience, by some reason not full API available in
online documentation - please use API list from attached file ( we will
fix online documentation in nearest time )

to get a handle of a toolbar item by id
    toolbar.getItem(id); (3.24 KB)