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

Looking for tabs managment in Thunderbird 3.0

24 views
Skip to first unread message

Julien Iguchi-Cartigny

unread,
Aug 8, 2009, 6:33:10 AM8/8/09
to dev-ext...@lists.mozilla.org
Hello,

Following my previous mail, I want that my addon has its own tab in
thunderbird 3.0, but I don't find the functions for managing tab (It
doesn't seem that the code for tab managment for firefox could be
used: <https://developer.mozilla.org/en/Code_snippets/Tabbed_browser>).
Does anyone can point me to the correct API for doing this.

Furthemore, I want to create my own application in it (and not
download a web page), how can i create a tab and create a GUI with XUL
for it ?

Cheers,

Julien.

--
"Trouble-a-cat limited"

Joey Minta

unread,
Aug 8, 2009, 9:12:52 AM8/8/09
to Julien Iguchi-Cartigny, dev-ext...@lists.mozilla.org
The API you're looking for is probably best described here:
http://mxr.mozilla.org/comm-central/source/mail/base/content/tabmail.xml#54

Some examples of simple tab-types can be found at:
http://mxr.mozilla.org/comm-central/source/mail/base/content/specialTabs.js#60

Probably the simplest way to do what you're looking to do is to create an
XBL binding that defines your GUI. Then you can register a tab-type with the
perTabPanel attribute pointing to your new binding. For example, this is
what I was working on in Bug 457270. You can see the beginnings of the
binding, as well as the registration here:
https://bugzilla.mozilla.org/attachment.cgi?id=378209&action=diff

-Joey

> _______________________________________________
> dev-extensions mailing list
> dev-ext...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-extensions
>

Julien Iguchi-Cartigny

unread,
Sep 30, 2009, 3:28:27 PM9/30/09
to Joey Minta, dev-ext...@lists.mozilla.org
Hello,

So I've the code for opening / closing a tab on thunderbird 3.0pre,
now I want to open a tab with a layout from a XUL file. Does anyone
know how to do this ?

Cheers,

Julien.

PS: BTW I can not log in developper.mozilla.org to contribute for the
thunderbird how(to about add tab, does anyone know how to register (i
didn't found the register page) ?

--
"Trouble-a-cat limited"

0 new messages