Add backend support for the NSWindow child mechanism and use it for

popup buttons.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27719 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2009-01-29 09:37:30 +00:00
parent d07ee5d56f
commit b32b160823
5 changed files with 38 additions and 2 deletions

View file

@ -856,6 +856,9 @@ many times.
: _styleMask
: [_screen screenNumber]];
[srv setwindowlevel: [self level] : _windowNum];
if (_parent != nil)
[srv setPartentWindow: [_parent windowNumber]
forChildWindow: _windowNum];
// Set up context
[self _startBackendWindow];
@ -4741,8 +4744,13 @@ current key view.<br />
- (void) setParentWindow: (NSWindow *)window
{
// FIXME
_parent = window;
if (_windowNum)
{
[GSServerForWindow(self) setPartentWindow: [_parent windowNumber]
forChildWindow: _windowNum];
}
}
- (BOOL) allowsToolTipsWhenApplicationIsInactive