DOKK / manpages / debian 12 / libmotif-dev / XmRenderTableCopy.3.en
XmRenderTableCopy(3) Library Functions Manual XmRenderTableCopy(3)

XmRenderTableCopy — A render table function that copies renditions "XmRenderTableCopy"

#include <Xm/Xm.h>
XmRenderTable XmRenderTableCopy(
XmRenderTable table,
XmStringTag *tags,
int tag_count);

XmRenderTableCopy creates a new render table which will contain the renditions of the table whose tags match those in tags.

Specifies the table containing the renditions to be copied.
Specifies an array of tags, whose corresponding renditions are to be copied. NULL indicates that the complete table should be copied.
Specifies the number of tags in tags.

Returns NULL if table is NULL. Otherwise, this function returns the new render table. This function allocates space to hold the new render table. The application is responsible for managing this allocated space. The application can recover this allocated space by calling XmRenderTableFree.

XmRendition(3) and XmRenderTableFree(3).