Name

lcdui.settings — Returns or sets information about the graphical environment.

Synopsis

lcdui.settings [-color] [-alphalevels] [-alertimagewidth] [-alertimageheight] [-listimagewidth] [-listimageheight] [-choiceimagewidth] [-choiceimageheight] [-bg] [-fg]

Description

The lcdui.settings command filename.

Example

set form [lcdui.form -title "Settings Demo" -commandaction menu1sel]
$form setcurrent

foreach s {"-color"
    "-alphalevels"
    "-alertimagewidth"
    "-alertimageheight"
    "-listimagewidth"
    "-listimageheight"
    "-choiceimagewidth"
    "-choiceimageheight"
    "-bg"
    "-fg"
    "-hilightbg"
    "-hilightfg"
    "-border"
    "-hilightborder"
    "-borderstyle"
    "-hilightborderstyle"
} {
    $form append [lcdui.stringitem -label "[strtrim $s -]:" -text [lcdui.settings cget $s]]
}

Live example: http://www.heclbuilder.com/scripts/show/152