DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtGet(VTCL)


VtGet -- return value of specified option for given widget

Syntax

VtGet widgetName [option]
VtGetValues widgetName [option]

Description

Returns the value of the specified option for the given widget. Only options which have a "G" next to the option name in the command reference can be retrieved with VtGet. Only one option can be retrieved at a time. VtGetValues- synonym of VtGet

Options

Any valid options for the particular widget. For example:
set label [VtGet $myLabel -label]
Returns the label string for the widget $myLabel.

Errors


NOT_GETTABLE
the option is not gettable

OPTION_COUNT
too many or too few options specified

Standard errors
See ``Tcl widget creation errors'' in SCO Visual Tcl Programmer's Guide and Reference.

See also


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003