discuss-gnustep
[Top][All Lists]
Advanced

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

Re: NSToolbar (was Re: Portability/Compatability betweenGNUstep<--->Coco


From: Uli Kusterer
Subject: Re: NSToolbar (was Re: Portability/Compatability betweenGNUstep<--->Cocoa...)
Date: Mon, 19 Jan 2004 00:08:47 +0100
User-agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X)

In article <mailman.646.1074098213.928.discuss-gnustep@gnu.org>,
 Jeff Teunissen <deek@d2dc.net> wrote:

> So now every row of icons is a toolbar? No. Every toolbar has one particular
> feature, and some others that are common.
> 
> 1. A toolbar is always a single control, distinct from the rest of the UI.
   Check.

> 2. A toolbar may be enabled or disabled. (optional)
   That's not true for Cocoa's NSToolbar. You can validate individual 
items, though, if you meant that.

> 3. A toolbar may be configurable. (optional, but expected)
   Wasn't true until MacOS X 10.2, IIRC.

> 4. A toolbar may be detachable and/or reorientable. (optional, but common)
   Not true at all on MacOS X. You can show/hide it, You can switch 
between Text & Icons, Text Only or Icons Only, and you can switch 
between two sizes. But you can't tear it off, nor can you make vertical 
NSToolbars.

> Not one of NeXT's uses of their NSToolbar class has even one of these
> features. In fact, one of the uses (the 3.3 Interface Builder) acts just
> like TABS -- so much so that in the next version, the "toolbar" was replaced
> by a very nice tab view.

 This is actually supported in MacOS X's NSToolbar, and used in many 
Preferences windows on the Mac to switch between the panes. In 10.3 they 
even added a "selectable items" list and a way to get/set the selected 
item, which is then highlighted with a grey background.

Just clarifying,
-- Uli
"Where oh where has my server gone..."


reply via email to

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