GtkToolbar::set_orientation

void set_orientation(GtkOrientation orientation);

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.