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

SaMakeStringFromThisRowCol

Make a string from a specified row of an SaCallbackStruct callback structure.

Synopsis

#include "SaPopCalls.h"

char* SaMakeStringFromThisRowCol(SaCallbackStruct *cbs, int row, XtPointer client_data);

Arguments

cbs
SaCallbackStruct callback structure.
row
Which row to use, 0 relative.
client_data
Specifies which column to use.

Return Values

A string containing the data, or empty string if cbs is NULL.

Description

SaMakeStringFromThisRowCol returns a malloc'd string given an SaCallbackStruct callback structure and a row. If the row number is less than 0, greater than the total number of rows - 1, or if cbs is NULL, an empty string is returned. Use free to deallocate this memory when it is no longer needed. The client_data specifies which column to use to make the string. An invalid column specification results in an empty string.

See Also


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