[Top] [Prev] [Next] [Bottom] [Contents]

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



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.