discuss-gnustep
[Top][All Lists]
Advanced

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

Re: NSView viewDidMoveToWindow


From: Stéphane Goujet
Subject: Re: NSView viewDidMoveToWindow
Date: Thu, 25 Aug 2005 13:59:26 +0300
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Richard Frith-Macdonald a écrit :

>>  is this method known to work or to be broken ?
> It is implemented to do nothing.

   Yes, well, that is normal ; my sentence was not very correct, but I
see you understood what I wrote after that.

>>  The problem I have is that, for a view which is a subview of a
>> subview of [...] of a window, this method is called only once
>> with GNUStep, when it is added to its superview, but it is not
>> called anymore later, when its superview is added to another
>> superview, etc., and when the last superview is added to the
>> window.
> ... the problem was with the code calling it, which wasn't calling it
> for subviews. I've changed the code in CVS to call
> -viewDidMoveToWindow on subviews, as this appears to be the correct
> behavior.

   Yes, at least I tested and it works for my use. Thank you very much !

Goodbye,
          Stéphane.




reply via email to

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