Xmreptypegetid a representation type manager function that retrieves the identification number of a representation type "xmreptypegetid" "representation type manager functions" "xmreptypegetid"
#include <Xm/RepType.h> XmRepTypeId XmRepTypeGetId( String rep_type);
XmRepTypeGetId searches the registration list for the specified representation type and returns the associated identification number.
Specifies the representation type for which an identification number is requested
Returns the identification number of the specified representation type. If the representation type is not registered, the function returns XmREP_TYPE_INVALID.