|
|
The main window label appears in the window frame and contains the name of the manager and the host name, for example:
Account Manager on jascovalHere is the code used in the template:
set mainlabel [VtLabel $vtMain.mainlabel \
-label "$appvals(title) on $appvals(managedhost)"]
UiWidgetSet mainlabel $mainlabel
set mainList [UiBuildMainList $vtMain $mainlabel]
In addition the main window label, the screen has a title
displayed above the main list indicating the host being
managed:
VtSetAppValues $vtApp -versionString "$appvals(title) $appvals(version)"
if {$appvals(openhost)} {
set title \
"$appvals(title) on [SaHostExtractSystemName $appvals(managedhost)]"
} else {
set title "$appvals(title)"
}
See also: