Re: Dock icon removal. and NSStatusBar
Re: Dock icon removal. and NSStatusBar
- Subject: Re: Dock icon removal. and NSStatusBar
- From: Sandro Noel <email@hidden>
- Date: Sat, 19 May 2007 09:20:48 -0400
Uli, thank you for the pointer !
NSStatusItem
setView:
Sets the custom view that is displayed at the receiver’s position in
the status bar to view.
- (void)setView:(NSView *)view
Discussion
Setting a custom view overrides all the other appearance and behavior
settings defined by NSStatusItem. The custom view is responsible for
drawing itself and providing its own behaviors, such as processing
mouse clicks and sending action messages.
Availability
Available in Mac OS X v10.0 and later.
See Also
– view
Sandro Noel
email@hidden
On 19-May-07, at 5:42 AM, Uli Kusterer wrote:
On 19.05.2007, at 06:22, Sandro Noel wrote:
Is it possible to use the NSProgressIndicator as the
setAlternateImage ... of course i know it's not an image.
but I'm still asking if it is possible to stick a component in
there, instead of an image :)
Wrong terminology. Search for "using an NSView in an
NSStatusItem", that should yield some useful results. Hope that
helps. Gotta go now.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden