XUL Programmer's Reference Manual

<menubutton>

Attributes Common Children
src <menupopup>
value <menuseparator />
flex <separator /> 
key  
disabled  
id  
class  
acceltext  
accesskey  
crop  
orient  
autostretch  
oncommand  

<menubutton> element is a menu element that includes an icon or image. With the exception of src, all of its attributes are derived from <menu>

 

 

src
Description
src is an optional attribute used for specifying the menubutton's menu icon. 
Syntax
<menubutton src="image file">
Example
<menubutton src="back.gif">
<menupopup>
  <menuitem value="foo" />
  <menuitem value="shoo" />
  <menuitem value="boo" />
</menupopup>
</menulist> 


Notes

None.
 

 
Last updated: 5/23/00 Ian Oeschger