[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSPopUpButton - results on MacOSX
From: |
Pascal Bourguignon |
Subject: |
Re: NSPopUpButton - results on MacOSX |
Date: |
Wed, 10 Oct 2001 15:35:18 +0200 (CEST) |
> Date: Tue, 9 Oct 2001 19:54:23 +0100
> From: Georg Fleischmann <georg@vhf.de>
>
>[...]
> Press C-c C-c here for "application/zip; name=PopUpButtons.tar.gz;
> x-unix-mode=0644" data
At least, I have the results on MacOSX.
On the latest CVS GNUstep:
[pascal@thalassa PopUpButtons]$ PopUpButtons.app/PopUpButtons
All the items in the "PopUpButton action" pop-up are disabled.
Oct 09 23:09:14 PopUpButtons[26520] buttonAction: sender = <NSMenuItem: 823f1c8>
On OPENSTEP 4.2:
[pascal@despina PopUpButtons]$ PopUpButtons.app/PopUpButtons
Oct 09 23:27:04 PopUpButtons[368] buttonAction: sender = <NSPopUpButton:
0xbaa20> index = 0
Oct 09 23:27:05 PopUpButtons[368] buttonAction: sender = <NSPopUpButton:
0xbaa20> index = 1
Oct 09 23:27:07 PopUpButtons[368] buttonAction: sender = <NSPopUpButton:
0xbaa20> index = 2
Oct 09 23:27:09 PopUpButtons[368] buttonAction: sender = <NSMatrix: 0xbe458>
Oct 09 23:27:11 PopUpButtons[368] buttonAction: sender = <NSMatrix: 0xbe458>
Oct 09 23:27:12 PopUpButtons[368] buttonAction: sender = <NSMatrix: 0xbe458>
On MacOSX (Darwin Kernel Version 1.3.7):
[pascal@macosx PopUpButtons}$ ./popupbuttons
Oct 10 14:37:50 popupbuttons[16805] buttonAction: sender = <NSPopUpButton:
0x1c83b20> index = 2
Oct 10 14:37:53 popupbuttons[16805] buttonAction: sender = <NSPopUpButton:
0x1c83b20> index = 4
Oct 10 14:37:55 popupbuttons[16805] buttonAction: sender = <MenuItem: 0x1c82fa0
MenuItem action 3>
Oct 10 14:37:59 popupbuttons[16805] buttonAction: sender = <MenuItem: 0x1c85780
MenuItem action 0>
Which confirms what I concluded from the interfaces on MacOSX: there's
no more any NSMatrix in the menu implementation.
If only the GNUstep implementation would enable the pop-up menu items,
when setting the action to the NSPopUpButton, it would be perfect...
--
__Pascal_Bourguignon__ (o_ Software patents are endangering
() ASCII ribbon against html email //\ the computer industry all around
/\ and Microsoft attachments. V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100 2001:my($f)=`fortune`; http://petition.eurolinux.org/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++ UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------
- Re: NSPopUpButton - results on MacOSX,
Pascal Bourguignon <=