::SetState

This command will enable or disable the mdlTempListCollector widget.

Syntax

::model::mdlTempListCollector::SetState argFrm argState

Application

MotionView Tcl

Description

This command will enable or disable the mdlTempListCollector widget.

Inputs

argFrm
We need to pass the path of the mdlTempCollector which needs to be enabled or disabled.
argState
We need to pass either true (1) to enable or false (0) to disable the mdlTempListCollector.

Example

set sel_pt ""
set sel_vec ""
set sel_type ""
set top [toplevel .test]
set colFrm [frame $top.tmpFrm1 ]
pack $colFrm
set types {{Point Point ::sel_pt} {Vector Vector ::sel_vec}}
set list_col [::model::mdlTempListCollector $colFrm.lcol ::sel_type "$types"]
pack $list_col
::model::mdlTempListCollector::SetState $list_col false

Error

On successful execution of the command, the mdlTempListCollector will be enabled or disabled.