Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > MenuExtra plugin

MenuExtra plugin
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2000
Location: italy
Status: Offline
Reply With Quote
Dec 26, 2001, 05:22 AM
 
MenuExtra plugin: I want to dev one of these, but can't find documentation;

any idea?
tia
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Dec 26, 2001, 10:38 AM
 
I don't think Apple wants people to make their own menu extras, so there isn't any documentation on it. Some people have hacked the API anyway, though. For example, I think the latest version of ASM is one. You might try taking a look at the source code to see how it's done.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 30, 2001, 05:16 AM
 
The public API for adding items to the top-right of the menu bar is the NSStatusBar/NSStatusItem API. This means that you have to write an application to do it, but hey
     
Grizzled Veteran
Join Date: Feb 2001
Location: Germany
Status: Offline
Reply With Quote
Dec 30, 2001, 08:11 AM
 
Originally posted by Angus_D:
<STRONG>The public API for adding items to the top-right of the menu bar is the NSStatusBar/NSStatusItem API. This means that you have to write an application to do it, but hey </STRONG>
did you ever look at the nsstatusitem documentation? "documentation forthcoming" all over the place. i was suprised, though, that nsstatusitem was documented. (must be the dec dev tools)

i know, there are a couple of examples over the web and i've been able to do some stuff with this, but the state of the documentation (not only there) is still highly unsatisfactory.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 30, 2001, 08:58 AM
 
Originally posted by seb2:
<STRONG>did you ever look at the nsstatusitem documentation? "documentation forthcoming" all over the place. i was suprised, though, that nsstatusitem was documented. (must be the dec dev tools)

i know, there are a couple of examples over the web and i've been able to do some stuff with this, but the state of the documentation (not only there) is still highly unsatisfactory.</STRONG>
NSStatusBar is documented, and it's pretty self-explanatory anyway. NSMenuExtras are a bit more difficult to implement.
     
Grizzled Veteran
Join Date: Feb 2001
Location: Germany
Status: Offline
Reply With Quote
Dec 30, 2001, 12:40 PM
 
Originally posted by Angus_D:
<STRONG>

NSStatusBar is documented, and it's pretty self-explanatory anyway. NSMenuExtras are a bit more difficult to implement.</STRONG>
yeah, that was a typo i made. i meant nsstatusbar. the implementation was easy to guess.

nsstatusitem would be worth documentation, though.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2