XmStringTableProposeTablist(3) | Library Functions Manual | XmStringTableProposeTablist(3) |
XmStringTableProposeTablist — A convenience function that returns a tab list "XmStringTableProposeTablist"
#include <Xm/Xm.h> XmTabList XmStringTableProposeTablist( XmStringTable strings, Cardinal num_strings, Widget widget, float pad_value, XmOffsetModel offset_model);
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 XmALIGNMENT_BEGINNING.
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.