[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #24601] NSToolbar: [NSWindow contentView] should not return a view
From: |
Quentin Mathé |
Subject: |
[bug #24601] NSToolbar: [NSWindow contentView] should not return a view which contains the toolbar in it once the toolbar is opened. |
Date: |
Mon, 01 Dec 2008 21:34:48 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; fr-fr) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #24601] NSToolbar: [NSWindow contentView] should not return a view which contains the toolbar in it once the toolbar is opened.,
Quentin Mathé <=