[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tabs are ready? -> Let us give a definition of tabs.

From: Stephen J. Turnbull
Subject: Re: Tabs are ready? -> Let us give a definition of tabs.
Date: Tue, 07 Feb 2012 02:53:03 +0900

Alin Soare writes:

 > I propose to find a definition of tabs,

We already have a definition of tabs: a GUI control containing a
linear array of buttons, each of which evokes a different display in a
single, fixed region of the screen, adjacent to the linear array.
This neither requires nor denies the kind of flexible programmability
you want.

 > such they are programmable, and give whatever default behaviour of
 > tabs you wish, give the LIBERTY to those programmers who wish to
 > define other kind of tabs for themselves, to be able to do so.

But this does not require all of the junk (events, callbacks, etc)
that you've talked about.  All that *needs* to be added to Emacs is
the very limited API needed to associate tabs with a window or frame,
displayable content and a label with each tab, and to query that
information.  The rest can be implemented with existing Emacs Lisp
facilities, such as faces (to change the color of a tab) and process
sentinels (one sort of event callback).  If you want a GTK-like API,
that should be easy to write in Lisp.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]