|
From: | Fred Kiefer |
Subject: | Re: NSPopupButton itemAtIndex: |
Date: | Sat, 13 Sep 2003 15:37:35 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204 |
Rob Burns wrote:
This is from older Apple docs. The OpenStep docs say something similar. itemAtIndex: - (id <NSMenuItem>)itemAtIndex:(int)indexReturns the list item at index. If there is no item at index, this methodreturns nil.In GNUstep it appears to raise an NSRangeException if there is no item at the given index.
OK, change NSPopupButtonCell to behave that way. Although I find it inconsistent.
Fred
[Prev in Thread] | Current Thread | [Next in Thread] |