Gtk.ToolShell.prototype.get_orientation

function get_orientation():Gtk.Orientation {
    // Gjs wrapper for gtk_tool_shell_get_orientation()
}

Retrieves the current orientation for the tool shell. Tool items must not call this function directly, but rely on Gtk.ToolItem.prototype.get_orientation instead.

Since 2.14

Returns

the current orientation of shell