::Update

This command updates the state of a CheckBox widget from the value in the data member of the associated entity.

Syntax

::model::mdlCheckBox::Update path

Application

MotionView Tcl GUI

Description

This command updates the state of a CheckBox widget from the value in the data member of the associated entity.

Inputs

path
The full path to the CheckBox of interest. The path argument is the return value of the ::model::mdlCheckBox procedure used to create a CheckBox.

Example

To update the value of a CheckBox:
::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 check_box [::model::mdlCheckBox .dlg.frm.check_box mrk "floating" -label "Floating" -enable true ]
grid $check_box -row 0 -column 0

::model::mdlCheckBox::Update $check_box 

mrk ReleaseHandle

Errors

None.