Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

regarding multi-layered notebook widget

16 views
Skip to first unread message

ramni

unread,
Mar 26, 2007, 5:11:47 AM3/26/07
to
Hi,

I am in need of some multi-layered tabs (tabs in more than one row)
in the notebook widget just as shown in the below image.

I would like to know whether this feature is included in any notebook
widget, If not how to get such notebook.

Could you please help me out in this regard...?


Thanking you
Ramanadh

Uwe Klein

unread,
Mar 26, 2007, 5:41:50 AM3/26/07
to
ramni wrote:
> Hi,
>
> I am in need of some multi-layered tabs (tabs in more than one row)
> in the notebook widget just as shown in the below image.
>
>
image?? put the image on some website, give a link.

>
>
>
> I would like to know whether this feature is included in any notebook
> widget, If not how to get such notebook.
>
> Could you please help me out in this regard...?
the blt tabset/tabnotebook does this in as many tiers
as you like ( and "rip off" tabs too):
http://wiki.tcl.tk/199
http://images.google.com/images?q=blt%20tabnotebook

I don't know about other implementations.
>
>
> Thanking you
> Ramanadh
>
uwe

Erik Allaert

unread,
Mar 26, 2007, 7:58:01 AM3/26/07
to
I've done this while ago for iwidgets (tabnotebook.itk and tabset.itk), but
never came around submitting it. Maybe this is the proper trigger. Contact
me if you're interested.

BTW, to put it gently, this use of multiple tiers is certainly not
"recommended practice"; there are some good design guidelines on e.g.
http://homepage.mac.com/bradster/iarchitect/tabs.htm

Cheers,
Erik Allaert
European Southern Observatory
(eallaertATesoDOTorg)
>>
>>
>> Thanking you
>> Ramanadh
>>
> uwe
>

Bryan Oakley

unread,
Mar 26, 2007, 9:34:48 AM3/26/07
to
Erik Allaert wrote:
> BTW, to put it gently, this use of multiple tiers is certainly not
> "recommended practice"; there are some good design guidelines on e.g.
> http://homepage.mac.com/bradster/iarchitect/tabs.htm

Buried in that document is this gem which everyone who will ever need to
create a tabbed interface should learn:

"One row of tabs is enough. Again: One row is enough. And once more: One
row is enough."


--
Bryan Oakley
http://www.tclscripting.com

Jay Rohr

unread,
Mar 27, 2007, 4:09:37 PM3/27/07
to
Agree.... but. I have an application that allows the user to connect to
multiple systems. Each connection creates a tab in a tabnotebook so the
user can switch between systems. The problem is that if the user
connects to many systems, the last tabs can not be seen. I can switch to
a left or right display, but that just extends the range and does not
fix the problem. Having multiple rows or scrolling would be nice - just
for this application :-)

Bryan Oakley

unread,
Mar 27, 2007, 4:34:04 PM3/27/07
to
Jay Rohr wrote:
> Bryan Oakley wrote:
>> Erik Allaert wrote:
>> > BTW, to put it gently, this use of multiple tiers is certainly not
>>> "recommended practice"; there are some good design guidelines on e.g.
>>> http://homepage.mac.com/bradster/iarchitect/tabs.htm
>> Buried in that document is this gem which everyone who will ever need to
>> create a tabbed interface should learn:
>>
>> "One row of tabs is enough. Again: One row is enough. And once more: One
>> row is enough."
>>
>>
> Agree.... but.

Read it again; it says "One row is enough." not "one row is enough,
but..." :-)

> I have an application that allows the user to connect to
> multiple systems. Each connection creates a tab in a tabnotebook so the
> user can switch between systems. The problem is that if the user
> connects to many systems, the last tabs can not be seen. I can switch to
> a left or right display, but that just extends the range and does not
> fix the problem. Having multiple rows or scrolling would be nice - just
> for this application :-)


If you can't fit it all on one row, seriously consider a different
widget if you're interested in usability. Just as if you needed to input
more than one line of text you would choose a text widget over an entry
widget; likewise if you need more than one row of tabs pick something
else over a notebook metaphor.

For example consider using a listbox along the side of the application.
The advantages to this approach are many: the listbox can generally show
more text per row than a small tab, the listbox can grow in height with
a well-defined navigation control (read: scrollbar), the listbox can be
sorted easily, and so on.

The only disadvantage that I can see is that it makes the GUI wider,
whereas multiple rows of tabs will (potentially) make the GUI taller.
Then again, most of us have landscape monitors which gives us more room
in the horizontal direction to begin with.

In other words, instead of this:

/System 6\/System 7\/System 8\/System 9\
/System 1\/System 2\/System 3\/System 4\
| -------------------------------+
| |
| |
| |
| |
| |
+---------------------------------------+

do this:

+--------------+-------------------------------+
| System 1 |^| |
| System 2 | | |
| System 3 | | |
| System 4 | | |
| System 5 | | |
| System 6 | | |
| System 7 | | |
| System 8 | | |
| System 9 |v| |
+--------------+-------------------------------+

I'm just brainstormin' here.

Neil Madden

unread,
Mar 27, 2007, 4:44:03 PM3/27/07
to

One solution I've seen to this problem is to display as many tabs as you
can in a single row, and then at one side have a small menu-button (with
e.g. a right pointing arrow icon) that displays a menu of the other
tabs. (jEdit has this behaviour for file buffers). Alternatively, you
could use a single menu button for all the tabs. Or you could use a
scrollable listbox instead of tabs -- put it in one side of a
panedwindow, and allow the user to show or hide it.

-- Neil

Ralf Fassel

unread,
Mar 28, 2007, 4:59:30 AM3/28/07
to
* Bryan Oakley <oak...@bardo.clearlight.com>
| [use listbox instead of multiple tab rows]

| The only disadvantage that I can see is that it makes the GUI wider,
| ...

As Neil has suggested in another message on this thread, the listbox
does not need to be visible all the time: add controls to show/hide
it, and show the current page title in the window manager decoration
or in a labelframe around the page.

R'

Erik Allaert

unread,
Mar 28, 2007, 7:56:33 AM3/28/07
to
In case someone still wants to experiment with these tabs spanning multiple
rows - in spite of the *very* good advice that has been quoted in other
follow-ups - I've submitted a patch to Iwidgets (SF #1689801), implementing
this "feature".

Erik Allaert

Donald Arseneau

unread,
Mar 29, 2007, 9:57:44 AM3/29/07
to
Bryan Oakley <oak...@bardo.clearlight.com> writes:

> If you can't fit it all on one row, seriously consider a different widget if
> you're interested in usability.

> For example consider using a listbox

Or another example: a drop-down menu.

(I hate when natural menus need to be scrolled)

Consider:

_
<| title V |>

where the left and right pointing triangles go to the
previous/next item in the ring, and the down-triangle
drops a menu to select from.

0 new messages