1XmTabListCopy(library call)                        XmTabListCopy(library call)
2
3
4

NAME

6       XmTabListCopy — A convenience function that creates a new tab list from
7       an existing list
8

SYNOPSIS

10       #include <Xm/Xm.h>
11       XmTabList XmTabListCopy(
12       XmTabList tablist,
13       int offset,
14       Cardinal count);
15

DESCRIPTION

17       XmTabListCopy creates a new tab list consisting of a copy of a  portion
18       of  the  contents of the tablist argument. This function starts copying
19       at the specified offset value of the tab list and copies count values.
20
21       tablist   Specifies a tab list to be copied.
22
23       offset    Specifies where to start copying. A value of 0  (zero)  indi‐
24                 cates  begin at the beginning, a value of 1 indicates to skip
25                 the first tab, and so  on.  A  negative  indicates  to  begin
26                 counting  backwards from the end.  A value of -1 indicates to
27                 start copying from the last tab.
28
29       count     Specifies the number of tabs to copy. A  value  of  0  (zero)
30                 indicates to copy all elements from the starting point to the
31                 end (beginning if offset is negative) of the tab list.
32

RETURN

34       If tablist is NULL, this function returns NULL. Otherwise,  this  func‐
35       tion  returns  a newly allocated XmTabList.  If the function does allo‐
36       cate an XmTabList, then the application is responsible for managing the
37       allocated  space.   The  application can recover the allocated space by
38       calling XmTabListFree.
39
41       XmTabList(3) and XmTabListFree(3).
42
43
44
45                                                   XmTabListCopy(library call)
Impressum