Re: Object from TableView cell
Re: Object from TableView cell
- Subject: Re: Object from TableView cell
- From: Phillip Morelock <email@hidden>
- Date: Thu, 13 Jun 2002 02:06:58 -0700
Isn't it just the a pointer to the button you want to track?
fillup
NSPopUpButtonCellWillPopUpNotification
This notification contains a notification object but no userInfo dictionary.
The notification object can be either a popup button or its enclosed
popup-button cell. The notification is posted just before the popup menu is
attached to its window frame. You can use this notification to lazily
construct your part's menus, thus preventing unnecessary calculations until
they are needed.
On 6/13/02 2:59 AM, "Cristian Savu" <email@hidden> wrote:
>
Hello list,
>
Look, I have a tableView filled with popUpButtons and I need to populate
>
the corresponding menus after the user clicks the button. For this I'm using
>
NSPopUpButtonCellWillPopUpNotification.
>
>
[[NSNotificationCenter defaultCenter] addObserver:self
>
selector:@selector(DoCreateMenu:)
>
name:NSPopUpButtonCellWillPopUpNotification object:<<I DON'T KNOW>>];
>
>
The problem I run into is that I have no Ideea what to put as object
>
parameter when I want to register the observer. If I leave nil, all the
>
popUpButtons are populated throught the same selector and don't need that.
>
>
>
>
if somebody has any ideea or just a hint ...
>
>
Regards, Cristian
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.