::SetLabelText

This command will be used to display a text label above the mdlTempCollector widget.

Syntax

::model::mdlTempCollector::SetLabelText argFrm argText

Application

MotionView Tcl

Description

This command will be used to display a text label above the mdlTempCollector widget.

Inputs

argFrm
We need to pass the path of the mdlTempCollector in the above argument, for which we want to display a text label.
argText
This argument is the text that is to be displayed as the label for the mdlTempCollector widget.

Example

set selected_point ""
set top [toplevel .test]
set colFrm [frame $top.tmpFrm1 ]
pack $colFrm
set point_col [::model::mdlTempCollector $colFrm.ptcol ::selected_point "Point" "Point" ]
pack $point_col
::model::mdlTempCollector::SetLabelText $point_col "Name"

Errors

On successful execution of the command, a text label is displayed above the mdlTempCollector.