Blame doc/man/man3/XmTabListRemoveTabs.3

Packit b099d7
'\" t
Packit b099d7
...\" TabLstRA.sgm /main/8 1996/09/08 21:09:28 rws $
Packit b099d7
.de P!
Packit b099d7
.fl
Packit b099d7
\!!1 setgray
Packit b099d7
.fl
Packit b099d7
\\&.\"
Packit b099d7
.fl
Packit b099d7
\!!0 setgray
Packit b099d7
.fl			\" force out current output buffer
Packit b099d7
\!!save /psv exch def currentpoint translate 0 0 moveto
Packit b099d7
\!!/showpage{}def
Packit b099d7
.fl			\" prolog
Packit b099d7
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
Packit b099d7
\!!psv restore
Packit b099d7
.
Packit b099d7
.de pF
Packit b099d7
.ie     ?\\*(f1?? .ds f1 \\n(.f
Packit b099d7
.el .ie ?\\*(f2?? .ds f2 \\n(.f
Packit b099d7
.el .ie ?\\*(f3?? .ds f3 \\n(.f
Packit b099d7
.el .ie ?\\*(f4?? .ds f4 \\n(.f
Packit b099d7
.el .tm ? font overflow
Packit b099d7
.ft \\$1
Packit b099d7
..
Packit b099d7
.de fP
Packit b099d7
.ie     !?\\*(f4?? \{\
Packit b099d7
.	ft \\*(f4
Packit b099d7
.	ds f4\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f3?? \{\
Packit b099d7
.	ft \\*(f3
Packit b099d7
.	ds f3\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f2?? \{\
Packit b099d7
.	ft \\*(f2
Packit b099d7
.	ds f2\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f1?? \{\
Packit b099d7
.	ft \\*(f1
Packit b099d7
.	ds f1\"
Packit b099d7
'	br \}
Packit b099d7
.el .tm ? font underflow
Packit b099d7
..
Packit b099d7
.ds f1\"
Packit b099d7
.ds f2\"
Packit b099d7
.ds f3\"
Packit b099d7
.ds f4\"
Packit b099d7
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
Packit b099d7
.TH "XmTabListRemoveTabs" "library call"
Packit b099d7
.SH "NAME"
Packit b099d7
\fBXmTabListRemoveTabs\fP \(em A convenience function that removes noncontiguous tabs
Packit b099d7
.iX "XmTabListRemoveTabs"
Packit b099d7
.SH "SYNOPSIS"
Packit b099d7
.PP
Packit b099d7
.nf
Packit b099d7
#include <Xm/Xm\&.h>
Packit b099d7
\fBXmTabList \fBXmTabListRemoveTabs\fP\fR(
Packit b099d7
\fBXmTabList \fBoldlist\fR\fR,
Packit b099d7
\fBCardinal \fB*position_list\fR\fR,
Packit b099d7
\fBCardinal \fBposition_count\fR\fR);
Packit b099d7
.fi
Packit b099d7
.SH "DESCRIPTION"
Packit b099d7
.PP
Packit b099d7
\fBXmTabListRemoveTabs\fP removes noncontiguous tabs from a tab list\&.
Packit b099d7
The function creates a new tab list by copying the contents of
Packit b099d7
\fIoldlist\fP and removing all tabs whose corresponding positions
Packit b099d7
appear in the \fIposition_list\fP array\&.
Packit b099d7
A warning message
Packit b099d7
is displayed if a specified position is invalid; for example, if the
Packit b099d7
value is a number greater than the number of tabs in the tab list\&.
Packit b099d7
.IP "\fItablist\fP" 10
Packit b099d7
Specifies the tab list\&.
Packit b099d7
The function deallocates \fIoldlist\fP and the tabs it contains
Packit b099d7
after extracting the required information\&.
Packit b099d7
.IP "\fIposition_list\fP" 10
Packit b099d7
Specifies an array of the tab positions to be removed\&. The position
Packit b099d7
of the first tab in the list is 0 (zero), the position of the second
Packit b099d7
tab is 1, and so on\&.
Packit b099d7
.IP "\fIposition_count\fP" 10
Packit b099d7
Specifies the number of elements in the \fIposition_list\fP\&.
Packit b099d7
.SH "RETURN"
Packit b099d7
.PP
Packit b099d7
If \fIoldlist\fP or \fIposition_list\fP is NULL, or
Packit b099d7
\fIposition_count\fP is 0 (zero), returns \fIoldlist\fP\&. Otherwise,
Packit b099d7
this function returns the new tab list\&.
Packit b099d7
The function allocates space to hold the returned tab list\&.
Packit b099d7
The application is responsible for managing the allocated space\&.
Packit b099d7
The application can recover the allocated space by calling \fBXmTabListFree\fP\&.
Packit b099d7
.SH "RELATED"
Packit b099d7
.PP
Packit b099d7
\fBXmTabList\fP(3) and
Packit b099d7
\fBXmTabListFree\fP(3)\&.
Packit b099d7
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:32