_________________________________________________________________
NAME
Tcm_SlotValue - process slot-value options for objects
SYNOPSIS
#include <default.h>
#include <tkConfig.h>
#include <tkInt.h>
#include <tcmConfig.h>
int
Tcm_SlotValue(interp, specs, objRec, slotName, flags)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter to use
for returning error
messages.
Tcm_ConfigSpec *specs (in) Table which specifies
the legal slots for
this object.
char *objRec (in) Pointer to object.
int flags (in) Ignored. Historical.
char *slotName (in) The name of a slot of
the object.
_________________________________________________________________
DESCRIPTION
The Tcm_SlotValue procedure is used to obtain the value of a
slot of an object given a slot name. Given a pointer to an
object (objRec), a table describing the slots of the objects
(specs), and a slotName, Tcm_SlotValue places in the stan-
dard interp->result a string corresponding to the value of
the given slot. This procedure works basically as a subset
of Tcm_ConfigureInfo.
KEYWORDS
options, configuration options, object, Tcm_ConfigureInfo,
slots, slot-value
AUTHOR
Brian Smith (bsmith@cs.berkeley.edu)
Steve Yen (syen@cs.berkeley.edu)