|
XmStringTableProposeTablist(3) -- A convenience function that returns a tab list
|
XmStringTableProposeTablist takes an XmStringTable structure containing tabbed compound strings, information on padding between columns, and rendering information and returns a tab list that, if used to render the strings in the table, would cause the strings to line up in columns with no overlap and with the specified amount of padding between the widest item in each column and the start of the n... |
XmStringTableToXmString(3) -- A convenience function that converts a compound string table to a single compound string
|
XmStringTableToXmString takes as input table of compound strings and a specified string component (such as a tab) and returns a single compound string consisting of each of the elements of table concatenated together with a single copy of break_component inserted between each element. table Specifies an XmStringTable containing the compound strings to be converted. count Specifies the number of co... |
|
XmStringTableUnparse(3) -- A convenience function that converts a table of compound strings to an array of text
|
XmStringTableUnparse takes an array of compound strings, allocates a string array for the type of characters determined by type with an equal number of slots, calls XmStringUnparse on each compound string in table, and inserts the resulting string in the corresponding slot in the array. table Specifies an XmStringTable containing the compound string to be converted. count Specifies the number of c... |
XmStringToXmStringTable(3) -- A convenience function that converts a single compound string to a table of compound strings
|
XmStringToXmStringTable takes as input a single compound string and a specified string component (such as a tab) and returns a table of compound strings consisting of portions of string delimited by components matching break_component. The components marking breaks will not appear in the resulting table. string Specifies the XmString to be converted. break_component Specifies the XmStringComponent... |
XmStringUnparse(3) -- A compound string function that unparses text
|
XmStringUnparse looks in the input string for text segments that are tagged with locale or charset tags that match tag. The tag_type parameter specifies whether the tag is a locale or charset type. If tag has a value of NULL, all the segments are matched. When a text segment is found with a matching tag, it is added to the end of a resulting string. The characters in the resulting string are of ty... |
XmStringWidth(3) -- A compound string function that returns the width of the widest line in a compound string
|
XmStringWidth returns the width, in pixels, of the widest line in the provided compound string. rendertable Specifies the render table string Specifies the string |
XmTab(3) -- Data type for a tab stop
|
XmTab is a data structure that specifies a tab stop to be used in rendering an XmString containing tab components. An XmTab value contains a value, a unit type, an offset model (either XmABSOLUTE or XmRELATIVE), an alignment model (XmALIGNMENT_BEGINNING), and a decimal point character. The resource file syntax for XmTab is specified in the XmTabList reference page. |
XmTabCreate(3) -- A convenience function that creates a tab stop
|
XmTabCreate creates a tab stop at a position defined by the value and units arguments. value Specifies the floating point value to be used in conjunction with units to calculate the location of the tab stop. Note that negative values are not permitted. units Specifies the unit type (for example, XmMILLIMETERS) to be used in conjunction with value to calculate the location of the tab stop. You can ... |
XmTabFree(3) -- A convenience function that frees a tab
|
XmTabFree frees the memory associated with the specified tab. tab Specifies the tab to be freed. |
XmTabGetValues(3) -- A convenience function that returns tab values
|
XmTabGetValues takes an XmTab structure, returns the floating point number that is set as the value of the tab, and then sets values for the units, offset, alignment, and decimal arguments where they are not NULL. The returned floating point number represents the distance that the rendering of the XmString segment associated with tab will be offset. The offset is from either the beginning of the r... |
XmTabList(3) -- Data type for a tab list
|
XmTabList is the data type for a tab list. A tab list consists of tab stop list entries (XmTabs). Whenever a tab component is encountered while an XmString is being rendered, the origin of the next X draw depends on the next XmTab. If a tab stop would cause text to overlap, the x position for the segment is reset to follow immediately after the end of the previous segment. Tab lists are specified ... |
XmTabListCopy(3) -- A convenience function that creates a new tab list from an existing list
|
XmTabListCopy creates a new tab list consisting of a copy of a portion of the contents of the tablist argument. This function starts copying at the specified offset value of the tab list and copies count values. tablist Specifies a tab list to be copied. offset Specifies where to start copying. A value of 0 (zero) indicates begin at the beginning, a value of 1 indicates to skip the first tab, and ... |
XmTabListFree(3) -- A convenience function that frees the memory of a new tab list
|
XmTabListFree recovers memory used by a tab list. In addition, this function frees all contained tabs. If the tablist is NULL, the function returns immediately. tablist Specifies the tab list to be freed. |
XmTabListGetTab(3) -- A convenience function that returns a copy of a tab
|
XmTabListGetTab returns a copy of the tab that is located at the specified position in the tab list. tablist Specifies the tab list. position Specifies the position of the tab to be returned. A value of 0 (zero) returns the first tab in the tab list, a value of 1 returns the second tab, and so on. |
XmTabListInsertTabs(3) -- A convenience function that inserts tabs into a tab list
|
XmTabListInsertTabs creates a new tab list that includes the tabs in oldlist. This function copies specified tabs to the tab list at the given position. The first tab_count tabs of the tabs array are added to the tab list. If oldlist is NULL, XmTabListInsertTabs creates a new tab list containing only the tabs specified. oldlist Specifies the tab list to add the tabs to. The function deallocates ol... |