I suggest you "overlay" a new hbox on the firebug UI. Roughly speaking your overlay file (a .xul) is a diff. You include in the overlay.xul file a skeleton of the UI, just the branch you want to append your hbox into. This skeleton uses the id values from Firebug's UI. Then you add your new hbox in the overlay file with a new ID. (This is how firebug gets into firefox.).
You can put your Javascript in there as well. Then in your panel show/hide you can change the collapse values to make the box be visible only when you panel is up. You might search through the firebug source for "overlay" to get some ideas. jjb On Jan 28, 3:08 pm, splintor <[email protected]> wrote: > Hi, > I want my extension panel to have a command-line-like row at its > button. I looked into Firebug code and saw that an <hbox> with > “fbCommandBox” id is defined and is collapsed for all panels but the > console panel. I was able to show that <hbox> on my panel, but I want > it to have a different label, additional buttons and different > behavior. What is the best way to achieve this? > > Should I add another new <hbox>? How do I do that? > Or should I change the existing fbCommandBox <hbox>? How do I do that? > > I’m an experienced web (HTML + JavaScript + CSS) developer, but am new > at XUL development, so samples would be of much help. > > Thanks, > splintor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
