Re: "label" and "tooltiptext" attributes for image-only toolbarbutton

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

> I'm quite confused on the "label" and "tooltiptext" attributes for 
> toolbarbutton.
>
> You see, toolbarbutton has both "label" and "tooltiptext" attributes. 
> When toolbarbutton is only an image, is there any subtle difference 
> between  "label" and "tooltiptext" attributes?  Do I have to define 
> both in case the tool-tip text is dynamically changed?

Depending on the toolbar it's possible for it to display the label as 
well as or instead of the image. In that case you would want the label 
to identify the button without being too long. If you need to provide 
more information to remind the user what the button does then a tooltip 
could be useful here.

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