::ChangeTitle
This command sets the title for the wizard dialog window. This command can be called any time after the wizard dialog has been created.
Syntax
::model::mdlWizardDlg::ChangeTitle title
Application
MotionView Tcl GUI
Description
This command sets the title for the wizard dialog window. This command can be called any time after the wizard dialog has been created.
Inputs
- title
- The text to be displayed in the title bar for the wizard dialog window.
Example
namespace eval ::my_wizard {
    variable p_dlg ""
}
proc ::my_wizard::Run {} {
    set mangle [::model::GetMangle my_wizard_Run]
    variable p_dlg
    set p_dlg [::model::mdlWizardDlg wiz$mangle -width 400 -height 200 \
        -title "My Wizard" -showExport false -callback "::my_wizard::OnClose"]
    
    ::model::mdlWizardDlg::ChangeTitle "New Title!"
    ::model::mdlWizardDlg::ShowDialog
}
proc ::my_wizard::OnClose { args } {
    variable p_dlg
    hwt::UnpostWindow $p_dlg
    return 1
}
::my_wizard::Run Errors
None.