Googling for images of "emacs tabs" , I found lots of images of emacs with all kind of tabs.

So the code already exist.

Let us try to give a general definition of tabs, common for all interfaces.