Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmtabcreate(3) [centos 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)

Check Out this Related Man Page

XmTabList(library call) 												   XmTabList(library call)

NAME
XmTabList -- Data type for a tab list SYNOPSIS
#include <Xm/Xm.h> XmTabList DESCRIPTION
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 in resource files with the following syntax: resource_spec: tab WHITESPACE [, WHITESPACE tab ]* The resource value string consists of one or more tabs separated by commas. Each tab identifies the value of the tab, the unit type, and whether the offset is relative or absolute. For example: tab := float [ WHITESPACE units ] float := [ sign ] [[ DIGIT]*. ]DIGIT+ sign := + where the presence or absence of sign indicates, respectively, a relative offset or an absolute offset. Note that negative tab values are not allowed. units indicates the unitType to use as described in the XmConvertUnits reference page. For example, the following specifies a tab list consisting of a one inch absolute tab followed by a one inch relative tab: *tabList: 1in, +1in 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. RELATED
Refer to the Motif Programmer's Guide for more information about tabs and tab lists. XmTabListCopy(3), XmTabListFree(3), XmTabListGet- Tab(3), XmTabListInsertTabs(3), XmTabListRemoveTabs(3), XmTabListReplacePositions(3), and XmTabListTabCount(3). XmTabList(library call)
Man Page