Returns the default render table associated with a specified widget
Format
#include <Xm/XmP.h> XmRenderTable XmeGetDefaultRenderTableWidget widgetunsigned char renderTableType
DESCRIPTION
XmeGetDefaultRenderTable returns the default render table associated with widget widget.
To determine the default render table, XmeGetDefaultRenderTable scans the parent hierarchy of widget, searching for the first ancestor to hold the XmQTspecifyRenderTable trait. If it finds one, XmeGetDefaultRenderTable calls the getRenderTable trait method of the XmQTspecifyRenderTable trait. This trait method returns the appropriate default render table based on renderTableType.
In the standard Motif widget set, the following widgets hold the XmQTspecifyRenderTable trait:
If XmeGetDefaultRenderTable cannot find an ancestor holding the XmQTspecifyRenderTable trait, XmeGetDefaultRenderTable creates a render table from the default system font.
RETURN
Returns the default render table associated with widget widget. Your widget should always make a copy of the returned render table and use the copy rather than the original.
RELATED