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
I don't know about other implementations.
>
>
> Thanking you
> Ramanadh
>
uwe
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
>
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
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.
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
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
> 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.