DOKK / manpages / debian 12 / libmotif-dev / XmRepTypeGetId.3.en
XmRepTypeGetId(3) Library Functions Manual XmRepTypeGetId(3)

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.

XmRepTypeGetRegistered(3) and XmRepTypeRegister(3).