Follow-up Comment #6, bug #24601 (project gnustep):
At the time, I wrote the toolbar code. I checked Mac OS X implementation
which does what you suggest. I didn't implement it that way at this time,
because not everybody agreed on having some special toolbar code inside
NSWindow. iirc GSWindowDecorationView wasn't also yet part of gnustep-gui.
>From what I recall, in GNUstep there is an NSWindow ivar named _wv which
represents the window view. On Mac OS X, this window view contains the content
view, the widget views and the toolbar view if a toolbar is visible. So the
toolbar view can either be a subview of _wv (as Mac OS X does it) or belong to
the GSWindowDecorationView. I think this last option you propose is cleaner.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?24601>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep