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"
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
>
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"