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.



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to