[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
Motif 2.1 Programmer's Reference
XmRenditionCreate
A convenience function that creates a rendition
Format
#include <Xm/Xm.h>
XmRendition XmRenditionCreate
Widget
widgetXmStringTag tagArgList
arglistCardinal argcount
DESCRIPTION
XmRenditionCreate creates a rendition whose resources are set to the values
specified in arglist. Default values are assigned to resources that
are not specified.
widgetSpecifies 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.
tagSpecifies the tag for the rendition. (This will become the XmNtag resource
for the rendition.)
arglistSpecifies the argument list.
argcountSpecifies the number of attribute/value pairs in the argument list (
arglist).
RETURN
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.
RELATED
XmRendition
(3) and XmRenditionFree
(3).
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]