TABLE OF CONTENTS


getOptions

NAME

::guib::keywordObj::getOptions -- returns the options of the ID-th keyword

USAGE

getOptions id ?pattern?

ARGUMENTS

id -- the ID number patern -- the glob pattern for the option retrival (default value of pattern is *)

RETURN VALUE

The option-value pairs of the ID-th keyword that match pattern

EXAMPLE

set opts [$obj getOptions var*]

SOURCE

body ::guib::keywordObj::getOptions {id {pattern *}} { return [array get cmd $id,$pattern] }