discuss-gnustep
[Top][All Lists]
Advanced

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

Re: NSToolbar (was Re: Portability/Compatability between GNUstep <---> C


From: Gregory John Casamento
Subject: Re: NSToolbar (was Re: Portability/Compatability between GNUstep <---> Cocoa...)
Date: Mon, 12 Jan 2004 18:28:27 -0800 (PST)

--- "Philippe C.D. Robert" <philippe.robert@gmx.net> wrote:
> Fabien VALLON wrote:
> >> just read that in the GNUstep/Cocoa thread and became curious: What are 
> >>the reasons for this dislike of NSToolbar? I'm a happy Cocoa user and 
> >>I'm just curious.
> > 
> > I bloat NSWindow.
> 
> Well, then stop bloating it!
> 
> ...sorry, could not resist ... :-)
> 
> But to remain on-topic, what exactly is it with NSToolbar which makes it 
> so unwelcome? Personally I think that the NSToolbar is the logic 
> evolution or consequence of handcoded toolbars which by the way were 
> always a part of the NEXTSTEP UI design, think of Mail.app or PB.app.
> 
> -Phil
> -- 
> Philippe C.D. Robert
> http://www.nice.ch/~phip/
> 

There was, in fact, an NSToolbar in OPENSTEP, it was part of a private
framework for NeXT only.   I fired up my turbo recently and did an "nm -a" on
the NeXTApps.framework, to see if my memory served correctly, and got the
following result:

...
19002c9a t -[NSToolBar adjustToolBarToWindow:]
19002b14 t -[NSToolBar buttonAtIndex:]
19002a96 t -[NSToolBar buttonWithName:]
19003230 t -[NSToolBar localizedHelpString:]
19002986 t -[NSToolBar setSnapToButtons:]
19002ba8 t -[NSToolBar toolBarAction:]
19002a3c t -[NSToolBar validateToolBarButton:]
190029ca t -[NSToolBar validateToolBar]
190028b6 t -[NSToolBar viewWillMoveToWindow:]
...

So, there indeed was an NSToolbar in OPENSTEP, but it was not available to you
and me.   I imagine that there were also corresponding changes in NSWindow for
the view as well, but I don't know for sure.

Thanks, GJC

=====
Gregory John Casamento -- CEO/President Open Logic Corp.
-- bheron on #gnustep, #linuxstep, & #gormtalk ---------------- 
Please sign the petition against software patents at: 
http://www.petitiononline.com/pasp01/petition.html 
-- Main Developer of Gorm (featured in April Linux Journal) ---

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus




reply via email to

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