mozdev.org


The Mozdev Group Inc.
status:
version:
resources:
Last Modified: April 03, 2003
XPTK Toolbarbuttons

  <toolbarbutton />

XPTK Attributes
  color      - sets the font color [red, green, blue, #ffffff,  etc.] Color Chart
  size       - sets the font size [2-28]
  bold       - sets font weight to bold [true, false]
  italic     - sets font style to italic [true, false]
  decoration - sets the text decoration [underline, overline, line-through]
  type       - determines the type of button [menu, menu-button, borderless]
  shape      - determines the shape of the button [round]
  bgcolor    - sets the background color of the button [red, lawngreen, slateblue, #ffffff,  etc.]
  bg         - sets a tiled bundled bg image [ grid1, grid2, bg1, bg2, etc ] Backgrounds

eg: 

  
  <toolbarbutton label="normal button" />

  
  <toolbarbutton label="XPTK" color="white" size="20" 
                 bold="true" shape="round" bgcolor="slategray" />

  
  <toolbarbutton label="menu" type="menu" bold="true" bgcolor="darkred" 
                 color="#ffff00" italic="true" />

  
  <toolbarbutton label="menu-button" type="menu-button" bgcolor="cadetblue" color="ghostwhite" />

For questions or comments about xptk, please send a message to the xptk mailing list.
Copyright © 2000-2008. All rights reserved. Terms of Use & Privacy Policy.