DOKK / manpages / debian 11 / libmotif-dev / XmRenditionCreate.3.en
XmRenditionCreate(3) Library Functions Manual XmRenditionCreate(3)

XmRenditionCreate — A convenience function that creates a rendition "XmRenditionCreate"

#include <Xm/Xm.h>
XmRendition XmRenditionCreate(
Widget widget,
XmStringTag tag,
ArgList arglist,
Cardinal argcount);

XmRenditionCreate creates a rendition whose resources are set to the values specified in arglist. Default values are assigned to resources that are not specified.

Specifies the widget used for deriving any necessary information for creating the rendition. In particular, the X display of widget will be used for loading fonts.
Specifies the tag for the rendition. (This will become the XmNtag resource for the rendition.)
Specifies the argument list.
Specifies the number of attribute/value pairs in the argument list (arglist).

Returns the created rendition. The function allocates space to hold the returned rendition. The application is responsible for managing this allocated space. The application can recover this allocated space by calling XmRenditionFree.

XmRendition(3) and XmRenditionFree(3).