A compound string function that fetches the bytes in the next segment of a compound string
Format
#include <Xm/Xm.h> Boolean XmStringGetNextSegment XmStringContext contextchar **textXmStringTag *tagXmStringDirection *directionBoolean *separator
DESCRIPTION
This routine is obsolete and exists for compatibility with previous releases. To read the contents of a compound string, read each component of the string with XmStringGetNextTriple. This XmString function returns the type, length, and value of the next component in the compound string. XmStringGetNextSegment fetches the bytes in the next segment; repeated calls fetch sequential segments. The text, tag, and direction of the fetched segment are returned each time. A Boolean status is returned to indicate whether a valid segment was successfully parsed.
If the function returns True, then the function allocates space to hold the returned text and tag. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XtFree.
RETURN
Returns True if a valid segment is found.
RELATED