Vtk_CtxtSetOption
Toolkit Reference

prevnext

Vtk_CtxtSetOption

#include <vtk_ctxt.h>
#include <vtk_err.h>
Vtk_uint32 Vtk_CtxtSetOption(
Vtk_Ctxt* ctxt, /* input */
Vtk_CtxtOption *data /* input */
);

Description

This Toolkit context function allows the application to set a specific option for the specified context. The application sets the option through the Vtk_CtxtOption structure which identifies the option type. For a comprehensive list of the supported context option types, see Vtk_CtxtLogType.

Parameters

ctxt Pointer to Toolkit context created using the Vtk_CtxtNew function and for which memory has been allocated. The Toolkit context for which this function sets the option.
data Option information to be set. The information depends on the option type.

Return Value

VTK_OK The function has completed successfully and the option has been set.
error code The function has failed. For information about possible error values, refer to Appendix 

Notes

None

See Also

Vtk_CtxtLogType

Vtk_CtxtGetOption

prevnext


ValiCert, Inc.
http://www.valicert.com
Voice: +1.650.567.5469
Fax: (+1.650.254.2148
support@valicert.com