 |
 |
MenuExtra plugin
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Nov 2000
Location: italy
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|