Re: Context menu for NSTableView cell
Re: Context menu for NSTableView cell
- Subject: Re: Context menu for NSTableView cell
- From: Andreas Mayer <email@hidden>
- Date: Fri, 7 Oct 2005 17:33:12 +0200
Am 07.10.2005 um 17:08 Uhr schrieb Steve Pettifer:
From what i've read and googled, i'm guessing that i somehow have
to link the menu with the fieldeditor, but i've not been able to
find a way of identifying the particular column i'm interested in,
and of making the menu appear only for that column/fieldeditor and
not for every text column in my table.
I'd try to subclass NSTextFieldCell and overwrite
setUpFieldEditorAttributes:
Then use that class as data cell class for the column in question.
Maybe you also need to subclass NSText (for the field editor) and
overwrite
menuForEvent:
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden