Skip to content

Instantly share code, notes, and snippets.

@6r1d
6r1d / gist:4459143
Last active December 10, 2015 16:09 — forked from anonymous/gist:4458914
qx.Class.define("qx.ui.tabview.TabView", {
extend: qx.ui.tabview.TabView,
members: {
// Select next tab
next: function () {
var size = this.getSelectables().length;
var idx = this.getSelectables().indexOf(this.getSelection()[0]);
if (idx < size - 1) {
this.setSelection([this.getSelectables()[idx + 1]]);