Re: sharing xul elements between toolbars

Neil <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
Nikhil Johny wrote:

>hi, i am new to xul. i was wondering if there was a way to share elements between 2 toolbars.
>
>for example, lets say i have toolbar_1 with a text box and a button. i want to create toolbar_2 with the same button as the button which i defined in toolbar_1 along with other buttons. i would also like to style the toolbar_1 and toolbar_2 differently. 
>  
>
What do you mean by "the same button"? If you allow your toolbars to be 
customised, then the user could simply drag the button to whichever 
toolbar they wanted it on. Or am I misunderstanding the use case?

-- 
Warning: May contain traces of nuts.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.