::ShowDialog
This command shows the wizard dialog (modal) after it has been created and configured.
Syntax
::model::mdlWizardDlg::SetDialog
Application
MotionView Tcl GUI
Description
This command shows the wizard dialog (modal) after it has been created and configured.
Example
To show a wizard
dialog:
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 600 -height 400 \
-title "My Wizard" -showExport false -callback "::my_wizard::OnClose"]
::model::mdlWizardDlg::ShowDialog
}
proc ::my_wizard::OnClose { args } {
variable p_dlg
hwt::UnpostWindow $p_dlg
return 1
}
::my_wizard::Run
Errors
None.