Re: Docklet(ing) API & 10.1: Where ????
Re: Docklet(ing) API & 10.1: Where ????
- Subject: Re: Docklet(ing) API & 10.1: Where ????
- From: Jonathan Hendry <email@hidden>
- Date: Wed, 3 Oct 2001 09:23:16 -0500
On Tuesday, October 2, 2001, at 10:24 , Stiphane Sudre wrote:
On mardi, octobre 2, 2001, at 04:59 , James Montgomerie wrote:
On 2/10/01 3:03 pm, "Eric Peyton" <email@hidden> wrote:
No, the dock extra and menu extra API's are both still private.
Take a look at the at the 10.1 Developer Release Notes at
http://developer.apple.com/techpubs/macosx/ReleaseNotes/AppKit.html,
search
for "NSApplication Dock Interaction" for similar functionality.
You can't have the same functionality since you need your Application to
be launched by the user to show the Menu.
That is/was the interest of dock extra, they were the complete equivalent
of ControlStrip Module.
Now if you want to have the same feature, you need to create an
application and TELL the user to add the application to the login item.
What's needed is an application that can launch other instances of itself,
with each instance loading a bundle providing DockExtra-like functionality.
The user would just have to configure the first, launching instance in
the Dock, and set it up to launch at login.
Bundle writers would just have to twiddle the defaults for the launcher
to add a request that their bundle be launched.
Each pseudo-DockExtra would be running in its own address space, so
wouldn't crash anything else if it were buggy.
Being full-blown applications, pseudoDockExtra authors wouldn't face
the limitations of Apple DockExtras.
The main drawback is that the user wouldn't have any control over
where the other instances' Dock icons appeared, and they couldn't
be placed in the document area of the Dock.
However, I'm not even sure if an AppKit application could launch
multiple instances of itself...