Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

5 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

replace tab with space

How do I replace a tab with a space in scripts using sed/awk ? (1 Reply)
Discussion started by: avnerht
1 Replies

2. Shell Programming and Scripting

convert new line to tab

hey i m newbie i dont know whether this is happining in my terminal or is there any reason behind this here it is when i do 1.) sed -n 's/\t/\n/gp' space > enter #where space is tab seperated file it works fine it give me a outupt that all tab seperated convert into column but when i... (3 Replies)
Discussion started by: narang.mohit
3 Replies

3. Shell Programming and Scripting

Determining position in a tab delimited file

hi, I want to determine the position of specific values over a cutoff. So I have a string of values that are mainly negative in number and I want to print the rare few that are positive. Specifically I want to know the position of the value along the string. The position is based from right to... (11 Replies)
Discussion started by: phil_heath
11 Replies

4. Shell Programming and Scripting

printing two values with TAB in between

Dear friends, I want to print variables' values in certain format where space between two values of variables is "a tab" I tried where I provided "tab" between two varibales. But when it print values on screen its giving me output without spaces in two values. Request you to help me in... (7 Replies)
Discussion started by: anushree.a
7 Replies

5. UNIX for Dummies Questions & Answers

Changing only the first space to a tab in a space delimited text file

Hi, I have a space delimited text file but I only want to change the first space to a tab and keep the rest of the spaces intact. How do I go about doing that? Thanks! (3 Replies)
Discussion started by: evelibertine
3 Replies