DockMenu
DockMenu
- Subject: DockMenu
- From: Thilo Ettelt <email@hidden>
- Date: Thu, 21 Mar 2002 14:21:15 +0100
Hi folks!
I have a problem with a dockMenu. I add the items to a menu in the nib
file in the awakeFromNib. So far so good, it works perfectly (it is
shown correctly in the dock), but I have a problem with the action. The
selector clicker works, but its sender is NSApplication. And that
doesn't help me when I want to have the clicked menuitem's title! :(
So what can I do?
- Thilo
--
- (void)awakeFromNib
{
[dockMenu addItemWithTitle:@"aTitleHere"
action:@selector(clicker:)
keyEquivalent:@""];
}
- (void)clicker:(id)sender
{
}
_______________________________________________
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.