|
|
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 colossusHere is the code used in the template:
set mainlabel [VtLabel $vtMain.mainlabel \ -label "$appvals(title) [IntlMsg ON] $appvals(managedhost)"] VxSetVar $appvals(vtMain) mainlabel $mainlabelIn addition the main window label, the screen has a title displayed above the main list indicating the host being managed:# TODO: build main screen widgets here. # Basic drawnlist is provided as a sample # Pass main form and widget just above for attachments if {$appvals(who)} { set mainList [UiBuildMainList $vtMain $mainlabel] }
if {$appvals(openhost)} { set title \ "$appvals(title) [IntlMsg ON] [SaHostExtractSystemName $appvals(managedhost)]" } else { set title "$appvals(title)" }
See also: