Re: NSStatusItem when clicked shows custom view
Re: NSStatusItem when clicked shows custom view
- Subject: Re: NSStatusItem when clicked shows custom view
- From: Clint Shryock <email@hidden>
- Date: Fri, 6 Mar 2009 08:21:55 -0600
Matt Gemmell has MAAttachedWindow, a sub class of NSWindow listed here:
http://mattgemmell.com/source
it comes with a sample project that shows it working with an NSStatusItem.
See if that will suit your needs
+Clint
On Thu, Mar 5, 2009 at 1:03 PM, Chris Purcell <email@hidden>wrote:
> I'm looking to do something similar to this app:
> http://transmissionapps.com/ (Logbook). I've seen that done in a handful
> of apps, a custom window/view invoked when the NSStatusItem is clicked. My
> two quesitons:
>
> 1) How is that window created. Is it a custom NSWindow or a regular
> NSWindow with a custom view?
>
> 2) How can I position the window so that it is directly below the
> NSStatusItem?
>
> Or am I going about this the wrong way.
>
> Thanks!
>
> --Chris
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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