XmRenderTableGetRendition - Man Page

A convenience function that matches a rendition tag

Synopsis

#include <Xm/Xm.h>
XmRendition XmRenderTableGetRendition(
XmRenderTable table,
XmStringTag tag);

Description

XmRenderTableGetRendition searches table and returns a copy of the rendition whose XmNtag resource matches tag. If no rendition matches, then NULL is returned. This function is to be used for just one rendition match.

It is the responsibility of the caller to free the returned rendition with the XmRenditionFree function.

table

Specifies the table containing renditions to be searched.

tag

Specifies the tag to search for.

Return

Returns NULL if there is no match; otherwise, this function returns a new XmRendition.

Referenced By

XmRenderTable(3), XmRenderTableGetRenditions(3).