manpagez: man pages & more
man XmTabCreate(3)
Home | html | info | man
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, dimen-
                 sion, or position, you can specify units as described in  the
                 XmNunitType  resource of the XmGadget, XmManager, or XmPrimi-
                 tive reference page.

       offset_model
                 Specifies whether the tab value represents an absolute  posi-
                 tion 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)

openMotif 2.3.1 - Generated Wed Dec 3 18:12:17 CST 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.