Hi there,

I suggest taking a look at Firebug Lite's Trace Panel implementation:

http://code.google.com/p/fbug/source/browse/lite/branches/firebug1.4/content/firebug/tracePanel.js

You need to set the "hasToolButtons" option to "true". Then, you can create
new buttons by using the new Button() constructor. Also please note that you
should activate the button (that is, initialize all event handlers) by
calling:

this.clearButton.initialize();


Firebug Lite's API is not frozen yet and we're looking for ways to make it
easier to use. If you have suggestions or other questions, please let us
know. One particular thing I'm not satisfied with is having to manually
activate/deactivate the buttons. I think it would be easier if all buttons
were automatically initialized.


regards,

Pedro Simonetti.


2010/12/23 Ram kumar <[email protected]>

> Hi,
>
> I've been trying to extend firebug lite with a custom panel and
> toolbar based on this tutorial[1]. I was able to successfully create a
> custom panel with out any issues. But, I've been unable to customize
> the toolbar. Is this possible on firebug lite ? Has anyone attempted
> to do something like this before ? I would appreciate any suggestions.
>
> Thanks,
>
> Ram
>
>
>
> [1] -
> http://www.softwareishard.com/blog/firebug-tutorial/extending-firebug-toolbar-part-ii/
>
> --
> 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]<firebug%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/firebug?hl=en.
>
>

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

Reply via email to