TABLE OF CONTENTS


getIdFromVarident

NAME

::guib::keywordObj::getIdFromVarident -- returns the ID of a keyword which contain the specified GUIB's variable identifier

USAGE

getIdFromVarident VarIdent

DESCRIPTION

This method is used to get the ID of the keyword containing the specified identifier. This is used, for example, by the "help" keyword where the help associated with some variable's idenifier is specified. For this purpose an ID (and keywordObj' object pointer) of the corresponding keyword is needed in order to set the help data via the "$obj setOptions $id "help $help".

RETURN VALUE

Returns the ID of a keyword which contain the specified identifier or -1 if the keyword is not found.

EXAMPLE

set id [$obj getIdFromVarident varIdent]