|
Xm/XmStringGetLtoR(o) -- A compound string function that searches for a text segment in the input compound string
|
XmStringGetLtoR searches for a text segment in the input compound string that matches the given font list element tag. This function allocates memory for the returned string. The caller should free it with XtFree(3X). string Specifies the compound string. tag Specifies the font list element tag associated with the text. A value of XmFONTLIST_DEFAULT_TAG identifies a locale text segment. text Specifies a pointer to a null terminated string.... |
Xm/XmStringGetNextComponent(o) -- A compound string function that returns the type and value of the next component in a compound string
|
XmStringGetNextComponent returns the type and value of the next component in the compound string identified by context. It is a low-level component function. Components are returned one at a time. On return, only some output parameters will be valid; which ones can be determined by examining the return status. In the case of text, tag, and direction components, only one output parameter is valid. If the return status indicates an unknown component was encountered, the font list element tag, leng... |
Xm/XmStringGetNextSegment(o) -- A compound string function that fetches the octets in the next segment of a compound string
|
XmStringGetNextSegment fetches the octets 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. context Specifies the string context structure which was allocated by the XmStringInitContext function. text Specifies a pointer to a null terminated string. tag Specifies a pointer to the font list element tag associated with th... |
Xm/XmStringHasSubstring(o) -- A compound string function that indicates whether one compound string is contained within another
|
XmStringHasSubstring indicates whether or not one compound string is contained within another. string Specifies the compound string to be searched substring Specifies the compound string to be searched for |
Xm/XmStringHeight(o) -- A compound string function that returns the line height of the given compound string
|
XmStringHeight returns the height, in pixels, of the sum of all the line heights of the given compound string. Separator components delimit lines. fontlist Specifies the font list string Specifies the string |
Xm/XmStringInitContext(o) -- A compound string function that allows applications to read out the content segment by segment
|
XmStringInitContext maintains a context to allow applications to read out the contents of a compound string segment by segment. This function establishes the context for this read out. This context is used when reading subsequent segments out of the string. A Boolean status is returned to indicate if the input string could be parsed. contextSpecifies a pointer to the allocated context string Specifies the string.... |
Xm/XmStringLength(o) -- A compound string function that obtains the length of a compound string
|
XmStringLength obtains the length of a compound string. It returns the number of bytes in s1 including all tags, direction indicators, and separators. If the compound string has an invalid structure, zero is returned. s1 Specifies the compound string |
Xm/XmStringLineCount(o) -- A compound string function that returns the number of separators plus one in the provided compound string
|
XmStringLineCount returns the number of separators plus one in the provided compound string. In effect, it counts the lines of text. string Specifies the string. |
Xm/XmStringNConcat(o) -- A compound string function that appends a specified number of bytes to a compound string
|
XmStringNConcat appends a specified number of bytes from s2 to the end of s1, including tags, directional indicators, and separators. It then returns the resulting compound string. The original strings are preserved. The space for the resulting compound string is allocated within the function. The application is responsible for managing the allocated space. The memory can be recovered by calling XmStringFree. s1 Specifies the compound string to which a copy of s2 is appended. s2 Specifies the co... |
Xm/XmStringNCopy(o) -- A compound string function that creates a copy of a compound string
|
XmStringNCopy creates a copy of s1 that contains a specified number of bytes, including tags, directional indicators, and separators. It then returns the resulting compound string. The original strings are preserved. The space for the resulting compound string is allocated within the function. The application is responsible for managing the allocated space. The memory can be recovered by calling XmStringFree. s1 Specifies the compound string. num_bytes Specifies the number of bytes of s1 to copy... |
Xm/XmStringPeekNextComponent(o) -- A compound string function that returns the component type of the next component fetched
|
XmStringPeekNextComponent examines the next component that would be fetched by XmStringGetNextComponent and returns the component type. contextSpecifies the string context structure that was allocated by the XmStringInitContext function |
Xm/XmStringSegmentCreate(o) -- A compound string function that creates a compound string
|
XmStringSegmentCreate is a high-level function that assembles a compound string consisting of a font list element tag, a direction component, a text component, and an optional separator component. text Specifies a null-terminated string to be used as the text component of the compound string. tag Specifies the font list element tag to be associated with the text. The value XmFONTLIST_DEFAULT_TAG identifies a locale text segment. direction Specifies the direction of the text. separator Specifies ... |
Xm/XmStringSeparatorCreate(o) -- A compound string function that creates a compound string
|
XmStringSeparatorCreate creates a compound string with a single component, a separator. |