[Top][All Lists]

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

NSPopUpButton (try 2)

From: Michael Hanni
Subject: NSPopUpButton (try 2)
Date: Mon, 11 Feb 2002 21:16:16 -0800 (PST)


Well, here is another try at making NSPopUpButton look a little better.  In
this attempt I have only made one minor (I think) change.  Instead of having
the performActionForItemAtIndex: method in NSMenu select the item I highlight
the item in the MenuView and allow the NSPopUpButton to select the item itself
when it synchronizes at the end of mouseDown: in NSPopUpButton.  This saves the
weird state change drawing till after the popup window orders out.  I'm not
sure, but this seems to be more visually appealing to me.



p.s. patch against current CVS.


Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!

Attachment: NSMenu.popupbutton.patch
Description: NSMenu.popupbutton.patch

reply via email to

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