You can place on a toolbar:
- toolbar buttons;
- toolbar buttons separator.
You define toolbar elements as child elements. Depending on the way your widgets are declared, child elements are defined as follows:
- a nested array (in case of declaration with help of the loader);
- using the addChild method (in case of programmatic declaration);
- a hierarchy of widgets corresponding to the hierarchy of DOMNodes (declarative syntax).
More detailed information on widget declaration see in Widget Declaration.