::DisableCollector
This command disables the mdlCollector widget.
Syntax
::model::mdlCollector::DisableCollector path
Application
MotionView Tcl GUI
Description
This command disables the mdlCollector widget.
Inputs
- path
- The full path to the mdlCollector widget of interest. This argument is the return value of the ::model::mdlCollector procedure used to create an mdlCollector.
Example
To disable an mdlCollector
widget:
::model::GetClientHandle clnt
clnt GetModelHandle mdl
clnt ReleaseHandle
mdl InterpretEntity mrk Marker m_0 "\"Marker 0\"" "" ""
mdl ReleaseHandle
set dlg [toplevel .dlg]
set frm [frame $dlg.frm -padx 10 -pady 10]
grid $frm -row 0 -column 0 -sticky nesw
set coll [::model::mdlCollector .dlg.frm.coll mrk "origin" "Point" -reference ]
grid $coll -row 0 -column 0
::model::mdlCollector::DisableCollector $coll
mrk ReleaseHandle
Errors
None.