Tabbrowser element

Discuss building things with or for the Mozilla Platform.
Locked
integral
Posts: 4
Joined: March 27th, 2009, 3:56 am

Tabbrowser element

Post by integral »

Hey guys,

I'm developing a XUL app and I'd like to use XUL element "tabbrowser". Unfortunately this is impossible since tabbrowser can be only used by FF window. Is there any workaround to do this? Currently I'm writing a simple tabbrower on my own (using browser elements/tabs/tabbox/tabpanels etc...) but I wonder if there is any simpler way...

Thank you for any constructive reply.
Torisugari
Posts: 1634
Joined: November 4th, 2002, 8:34 pm
Location: Kyoto, Nippon (GMT +9)
Contact:

Re: Tabbrowser element

Post by Torisugari »

If I were you, probably I'd download http://mxr.mozilla.org/mozilla-central/ ... .xml?raw=1 and http://mxr.mozilla.org/mozilla-central/ ... .css?raw=1 And do binding it, like http://mxr.mozilla.org/mozilla-central/ ... .css?raw=1

In addition, you can cut off functionalities you don't need at the moment.
fredrikmotin
New Member
Posts: 1
Joined: May 17th, 2013, 2:34 am

Re: Tabbrowser element

Post by fredrikmotin »

integral wrote:I'm developing a XUL app and I'd like to use XUL element "tabbrowser". Unfortunately this is impossible since tabbrowser can be only used by FF window.


I believe it is possible. The actual quote is: "Note: Starting in Firefox 3 (XULRunner/Gecko 1.9), this is only used in the main Firefox window and cannot be used in other XUL windows by third-party applications or extensions."

This is more meant for developers of extensions, indicating that they cannot use the tabbrowser there-in. In a separate XUL application, there is nothing stopping you from using the tabbrowser element just the way Firefox does (another XUL application...).

I am curious, what did you end up doing in the end?

Anyone know of a XUL app other than firefox that also uses the tabbrowser element?
User avatar
LIMPET235
Moderator
Posts: 39961
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Tabbrowser element

Post by LIMPET235 »

Locking due to old age.
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
Locked