class_="font"

Using <widget class_="font"> creates a widget that allows the end user to select a font and related properties such as size and style.

Syntax

<dynamic fontvar="">
    <widget class_="font" label_="[LABEL_FOR_FONT_PICKER]" 
     value_="@fontvar"/>
</dynamic>

Attributes

label_
Accepts text. Displays a message to the end-user.
value_
Accepts a variable that is declared in the containing <dynamic> element. The font value selected is stored in the variable provided.

Example for class_="font"

<dynamic fontvar="">
    <widget class_="font" label_="Pick something font-tastic!" value_="@fontvar"/>
</dynamic>