Gtk.ToolItem.prototype.set_visible_vertical

function set_visible_vertical(visible_vertical:Boolean):void {
    // Gjs wrapper for gtk_tool_item_set_visible_vertical()
}

Sets whether tool_item is visible when the toolbar is docked vertically. Some tool items, such as text entries, are too wide to be useful on a vertically docked toolbar. If visible_vertical is false tool_item will not appear on toolbars that are docked vertically.

Since 2.4

visible_vertical

whether tool_item is visible when the toolbar is in vertical mode