bug-gnustep
[Top][All Lists]
Advanced

[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)

Howdy,

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.

Comments?

Michael

p.s. patch against current CVS.

=====


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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


reply via email to

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