Songbird Wiki > Developer Center > Articles > Style Manual > XBL Widget Naming Convention

XBL Widget Naming Convention

From $1

Table of contents
No headers
  • All lowercase letters
  • Words separated by hyphens (-)
  • All have the prefix "sb-"
  • Widgets that are part of a conceptual group (e.g. "player" controls) may insert such categorical text between the widget name and the required prefix.
  • Widgets that have a familiar function (e.g. "button", "label", "textbox", etc.) may append that functional name. This is optional but recommended when the function is not clear from the name of the widget.

Examples:

<sb-text-scroller>
<sb-player-pause>
<sb-player-stop-button>
<sb-happy-fun-ball>
Tags:
 
Images (0)
 
Comments (0)
You must login to post a comment.