XmTabListCopy(3) | Library Functions Manual | XmTabListCopy(3) |
XmTabListCopy — A convenience function that creates a new tab list from an existing list "XmTabListCopy"
#include <Xm/Xm.h> XmTabList XmTabListCopy( XmTabList tablist, int offset, Cardinal count);
XmTabListCopy creates a new tab list consisting of a copy of a portion of the contents of the tablist argument. This function starts copying at the specified offset value of the tab list and copies count values.
If tablist is NULL, this function returns NULL. Otherwise, this function returns a newly allocated XmTabList. If the function does allocate an XmTabList, then the application is responsible for managing the allocated space. The application can recover the allocated space by calling XmTabListFree.