Re: NSStatusItem with custom view
Re: NSStatusItem with custom view
- Subject: Re: NSStatusItem with custom view
- From: Jesus De Meyer <email@hidden>
- Date: Fri, 22 Oct 2004 08:16:34 +0200
Did you make the text field enabled, selectable, and editable?
Yes I have. Here's the code I'm using:
- (void)awakeFromNib {
statusBar = [[NSStatusBar systemStatusBar] retain];
statusItem = [[statusBar statusItemWithLength:NSVariableStatusItemLength] retain];
[statusItem setView:view];
[statusItem setMenu:statusMenu];
[statusItem setHighlightMode:YES];
[statusItem setTarget:self];
}
_______________________________________________
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