[Prev] [Next] [Top] [Bottom] [Contents] (74 out of 193)

SaMakeStringFromCBS

Makes a string from an SaCallbackStruct callback structure.

Synopsis

#include "SaPopCalls.h"

char* SaMakeStringFromCBS(SaCallbackStruct *cbs);

Arguments

cbs
SaCallbackStruct callback structure.

Return Values

A string containing the data.

Description

SaMakeStringFromCBS returns a malloc'd string given a SaCallbackStruct callback structure. If cbs is NULL, an empty string is returned. Use free to deallocate this memory when it is no longer needed. If a row contains multiple columns, they are concatenated together. Spaces are inserted to align columns. If there are multiple rows, they are concatenated together and a new line character is inserted between rows. This function is used for the default population of a Text Widget.

See Also


[Prev] [Next] [Top] [Bottom] [Contents] (74 out of 193)