vtk: use current tab API