bug-gnustep
[Top][All Lists]
Advanced

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

Re: bug in NSBrowser ?


From: Adam Fedor
Subject: Re: bug in NSBrowser ?
Date: Mon, 09 Sep 2002 14:01:17 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.0.0) Gecko/20020610

Yen-Ju Chen wrote:

 That's really weird.
 Does Cocoa behave the same as what the documentation says?
 I doubt it.

I don't.

 And the browser do nothing after the delegate return YES/NO.
 There's no reason to have a delegate method with return value.


They do something. In -selectRow:inColumn:, another column is added if the cell is not a leaf, but only if the delegate returns YES.

 Another question is that now, doClick: won't call the selectRow:inColumn:.
 I feel that doClick: should call the selectRow:inColumn:.
 That would make more sense even the documentation doesn't say that.
 Since doClick: responses to the cell selection,
 it is reasonable to think the selectRow:inColumn will be called
 by doClick:.

MacOSX doesn't do this. I don't see any reason why it should either - if you want to know when a cell has been clicked on, you can use -setAction and -setTarget to tell the browser to send a message.


--
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.





reply via email to

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