Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmstringtableproposetablist(3) [hpux man page]

XmStringTableProposeTablist(library call)								 XmStringTableProposeTablist(library call)

NAME
XmStringTableProposeTablist -- A convenience function that returns a tab list SYNOPSIS
#include <Xm/Xm.h> XmTabList XmStringTableProposeTablist( XmStringTable strings, Cardinal num_strings, Widget widget, float pad_value, XmOffsetModel offset_model); DESCRIPTION
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 next column. Each tab in the tablist would have the same unit type as units, an offset model of offset_model, and an alignment type of XmALIGN- MENT_BEGINNING. strings Specifies an array of compound strings. num_strings Specifies the number of compound strings in strings. widget Specifies the widget used for deriving any necessary information for creating the rendition. In particular, the XmNunitType of widget will be used to specify the unit type to be used in determining the amount of padding separating columns and for the tabs in the proposed tab list. Also, widget's render table will be used in interpreting rendition tags within the strings. pad_value Specifies the value of the amount of padding to be used to separate columns. The units for this parameter are specified as the XmNunitType set for the widget parameter. Refer to the XmNunitType resource of the XmGadget, XmManager, or XmPrimitive reference page. offset_model Specifies the offset model to be used in creating the tabs. Can be XmABSOLUTE or XmRELATIVE. RETURN
Returns a new XmTabList. The function allocates space to hold the returned tab list. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XmTabListFree. RELATED
XmTabList(3) and XmTabListFree(3). XmStringTableProposeTablist(library call)

Check Out this Related Man Page

XmTabCreate(library call)												 XmTabCreate(library call)

NAME
XmTabCreate -- A convenience function that creates a tab stop SYNOPSIS
#include <Xm/Xm.h> XmTab XmTabCreate( float value, unsigned char units, XmOffsetModel offset_model, unsigned char alignment, char *decimal); DESCRIPTION
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 specify any unit described by the XmConvertUnits reference page. For resources of type, dimension, or position, you can specify units as described in the XmNunitType resource of the XmGadget, XmManager, or XmPrimitive reference page. offset_model Specifies whether the tab value represents an absolute position or a relative offset from the previous tab. Valid values are XmABSOLUTE and XmRELATIVE. alignment Specifies how the text should be aligned relative to this tab stop. Valid values are XmALIGNMENT_BEGINNING. decimal Specifies the multibyte character in the current language environment to be used as the decimal point for a decimal aligned tab stop. This is currently unused. RETURN
Returns a newly allocated XmTab. The application is responsible for managing this allocated space. The application can recover this allo- cated space by calling XmTabFree. RELATED
XmTab(3) and XmTabFree(3). XmTabCreate(library call)
Man Page