> Initializing a tab is not an action performed by emacs, but it is what you
And who executes what I define?
> define it to be.
The tabs will have an interface of primitive functions, written at the C-level.
The primitive function 'create-tab will have to execute at its end the callback written in lisp. This callback will make the initialization.
> In gtk for example, if you insert a gtk-notebook widget in emacs, you write
Emacs tabs should work without gtk as well.
> the callback functions in C , such that they call elisp function of that
Yes, so ? What do you mean by that ?
Tabs must have a common mechaninsm for gtk/console/etc