|
From: | Jan Djärv |
Subject: | Re: Gtk tabs in emacs, new branch. |
Date: | Sat, 10 Apr 2010 08:12:42 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 |
Juri Linkov skrev 2010-04-10 03.36:
Tabs may seem like a good idea to switch between different window-configurations, but there can actually be other uses for it. And even for that use, there can be different choices in terms of which tabs to show, ... All that needs to be written in Lisp.In the `x-tabs' branch, creating and switching tabs in the tab-bar is implemented in Lisp in tab-bar.el where tabs can be used for anything. The most useful application of tabs for switching window-configurations is implemented in the separate file tab.el. I think the `gtk-tabs' branch should do something like that.
Something like what? Switching window configurations or used for anything?Having tabs in Gtk+ is mostly to have the look and feel of the current user selected UI-theme, but also to behave like tabs in other applications.
Your implementation is more like a tool bar and probably more general (arrows in a Gtk-tab would look funny for example). But as with the native tool bar, the look and feel clashes with the selected theme.
Maybe you shouldn't call it tab-bar at all, but something like action-bar. It is buttons you can use for different actions. That is not what tabs does in current GUI-applications.
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |