Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: API Documentation?

1 view
Skip to first unread message

Eric H. Jung

unread,
Aug 4, 2008, 4:44:57 PM8/4/08
to dev-ext...@lists.mozilla.org

----- Original Message ----
> From: John G. Lussmyer <Cou...@CasaDelGato.Com>


> I'm new with doing ThunderBird extensions, and I've been unable to find
> any documentation on the various objects and functions that I can use
> from JavaScript.
> Looking through some of the existing extensions, I see that they do
> things like:
> var dbv = GetDBView();
> I just haven't been able to find any documentation on what methods and
> properties a "DBView" object provides.
> Anyone know where I can find this documentation?

The best resource right now is http://developer.mozilla.org



Eric H. Jung

unread,
Aug 4, 2008, 7:44:42 PM8/4/08
to dev-extensions, Cou...@casadelgato.com

> >> I just haven't been able to find any documentation on what methods and
> >> properties a "DBView" object provides.
> >> Anyone know where I can find this documentation?
> >>
> >
> > The best resource right now is http://developer.mozilla.org
> >
>

> It is? I haven't been able to find anything on a DBView object. The
> only references to GetDBView() are in examples.

Please don't reply to me off-list. In my opinion, yes, http://developer.mozilla.org is the best resource right now. I've heard complaints that it is lacking in Thunderbird information, however.

Anyway, the _ultimate_ documentation is, of course, the Thunderbird source code. You can find that here:

http://mxr.mozilla.org/comm-central/

Searching for GetDBView functions gets you this list of results:
http://mxr.mozilla.org/comm-central/ident?i=GetDBView

This one looks interesting:
http://mxr.mozilla.org/comm-central/source/mail/base/content/messageWindow.js#1175

You should also try google. The first search result on google for "GetDBView" is this, which looks interesting, too:

http://thunderbirddocs.blogspot.com/2005/02/thunderbird-extensions-navigating.html

Eric



John G. Lussmyer

unread,
Aug 4, 2008, 7:56:53 PM8/4/08
to Eric H. Jung, dev-extensions
Eric H. Jung wrote:
>
>>>> I just haven't been able to find any documentation on what methods and
>>>> properties a "DBView" object provides.
>>>> Anyone know where I can find this documentation?
>>>>
>>>>
>>> The best resource right now is http://developer.mozilla.org
>>>
>>>
>> It is? I haven't been able to find anything on a DBView object. The
>> only references to GetDBView() are in examples.
>>
>
> Please don't reply to me off-list. In my opinion, yes, http://developer.mozilla.org is the best resource right now. I've heard complaints that it is lacking in Thunderbird information, however.
>

Sorry, I hadn't realized this was one of the poorly configured ones that
defaults to "Reply to Sender" instead of "Reply to List".

0 new messages