1XmTabCreate(library call) XmTabCreate(library call)
2
3
4
6 XmTabCreate — A convenience function that creates a tab stop
7
9 #include <Xm/Xm.h>
10 XmTab XmTabCreate(
11 float value,
12 unsigned char units,
13 XmOffsetModel offset_model,
14 unsigned char alignment,
15 char *decimal);
16
18 XmTabCreate creates a tab stop at a position defined by the value and
19 units arguments.
20
21 value Specifies the floating point value to be used in conjunction
22 with units to calculate the location of the tab stop. Note
23 that negative values are not permitted.
24
25 units Specifies the unit type (for example, XmMILLIMETERS) to be
26 used in conjunction with value to calculate the location of
27 the tab stop. You can specify any unit described by the
28 XmConvertUnits reference page. For resources of type, dimen‐
29 sion, or position, you can specify units as described in the
30 XmNunitType resource of the XmGadget, XmManager, or XmPrimi‐
31 tive reference page.
32
33 offset_model
34 Specifies whether the tab value represents an absolute posi‐
35 tion or a relative offset from the previous tab. Valid values
36 are XmABSOLUTE and XmRELATIVE.
37
38 alignment Specifies how the text should be aligned relative to this tab
39 stop. Valid values are XmALIGNMENT_BEGINNING.
40
41 decimal Specifies the multibyte character in the current language
42 environment to be used as the decimal point for a decimal
43 aligned tab stop. This is currently unused.
44
46 Returns a newly allocated XmTab. The application is responsible for
47 managing this allocated space. The application can recover this allo‐
48 cated space by calling XmTabFree.
49
51 XmTab(3) and XmTabFree(3).
52
53
54
55 XmTabCreate(library call)