Re: Icons On Buttons

dave fletcher <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <CAAL67Rxhin2F88M7WcdSLqKQuR=zCE1jHUn1oX8J6LqpUm1Rrg@mail.gmail.com>
Here's how I do it, simple example. "image" attribute, and I put the
file in my skin chrome directory.

Cheers,

--fletch


https://github.com/dfletcher/noooooooo/blob/master/content/overlay.xul

On Sun, May 6, 2012 at 12:27 PM, gaurav <[email protected]> wrote:
> i just learn to create firefox extension. And im able to create a very
> basic firefox extension with few buttons in it. But i could not find a
> way to add an ICON on my buttons.
>
> Anyone please help me how can i add icon on my buttons?
>
>      <toolbarbutton id="myButton"
>        label="Home" oncommand="myHome(event)" />
>
> above code redirects user to my website home page. But i want to add
> an icon on my buttons
> _______________________________________________
> dev-tech-xul mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-xul
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.