|
XmStringByteCompare(3) -- A compound string function that indicates the
|
This function is obsolete and exists for compatibility with previous releases. XmStringByteCompare returns a Boolean indicating the results of a byte-by-byte comparison of two compound strings. In general, if two compound strings are created with the same (char *) string using XmStringCreateLocalized in the same language environment, the compound strings compare as equal. If two compound strings a... |
XmStringByteStreamLength(3) -- A function that returns the size of a string
|
XmStringByteStreamLength receives a byte stream format string and returns the size, in bytes, of that stream, including the header. Because of this header information, even a NULL string will cause XmStringByteStreamLength to return a non-zero value. string Specifies the byte stream format string. |
XmStringCompare(3) -- A compound string function that compares two strings
|
XmStringCompare returns a Boolean value indicating the results of a semantically equivalent comparison of two compound strings. Semantically equivalent means that the strings have the same text components, font list element tags, directions, and separators. In general, if two compound strings are created with the same (char *) string using XmStringCreateLocalized in the same language environment, ... |
XmStringComponentCreate(3) -- A compound string function that creates arbitrary components
|
XmStringComponentCreate creates a new XmString component of type c_type, containing value. If value is invalid for the particular component type, this function fails and returns NULL. c_type Specifies the type of component to be created. length Specifies the length in bytes of value. Note that this must be precisely the length of the value string, not including any trailing null characters. value ... |
XmStringComponentType(3) -- Data type for compound string components
|
XmStringComponentType is the data type specifying compound string component types. A compound string component identifies some part of a compound string, and can have a value and length. A compound string component can be one of the following types. These component types are grouped according to their length and value types. The following components have values of NULL and lengths of 0 (zero). |
XmStringConcat(3) -- A compound string function that appends one string to another
|
XmStringConcat copies s2 to the end of s1 and returns a copy of the resulting compound string. The original strings are preserved. The function will allocate space to hold the returned compound string. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XmStringFree. s1 Specifies the compound string to which a copy of s2 is ap... |
XmStringConcatAndFree(3) -- A compound string function that appends one string to another and frees the original strings
|
XmStringConcatAndFree copies s2 to the end of s1 and returns a copy of the resulting compound string. The original strings are freed. The function will allocate space to hold the returned compound string. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XmStringFree. s1 Specifies the compound string to which a copy of s2 is... |
XmStringCopy(3) -- A compound string function that makes a copy of a string
|
XmStringCopy makes a copy of an existing compound string. When the application no longer needs the returned compound string, the application should call XmStringFree. s1 Specifies the compound string to be copied |
XmStringCreate(3) -- A compound string function that creates a compound string
|
XmStringCreate creates a compound string with two components: text and a font list element tag. The function will allocate space to hold the returned compound string. When the application no longer needs the returned compound string, the application should call XmStringFree. text Specifies a NULL-terminated string to be used as the text component of the compound string. tag Specifies the tag compo... |
XmStringCreateLocalized(3) -- A compound string function that creates a compound string in the current locale
|
XmStringCreateLocalized creates a compound string containing the specified text in the current language environment. An identical compound string would result from the function XmStringCreate called with XmFONTLIST_DEFAULT_TAG explicitly as the tag component. The function will allocate space to hold the returned compound string. The application is responsible for managing the allocated space. The ... |
XmStringCreateLtoR(3) -- A compound string function that creates a compound string
|
This function is obsolete and exists for compatibility with previous releases. It is replaced by XmStringGenerate. XmStringCreateLtoR creates a compound string with two components: text and a tag component. This function scans for \n characters in the text. When one is found, the text up to that point is put into a segment followed by a separator component. No final separator component is appende... |
XmStringCreateSimple(3) -- A compound string function that creates a compound string in the language environment of a widget
|
XmStringCreateSimple creates a compound string with a text component and a charset tag. It derives the character set from the current language environment. The routine attempts to derive a character set from the value of the LANG environment variable. If this does not result in a valid character set, the routine uses a vendor-specific default. If the vendor has not specified a different value, thi... |
XmStringDirection(3) -- Data type for the direction of display in a string
|
XmStringDirection is the data type for specifying the direction in which the system displays characters of a string, or characters of a segment of a compound string. This is an enumeration with three possible values: |