Sets the toolbar orientation to horizontal or vertical.
The "orientation-changed" signal is emitted when this function is called.
You can read the current orientation with the orientation property.