Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmRepTyVa(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmRepTypeValidValue(Xm)        6 January 1993        XmRepTypeValidValue(Xm)


 Name

    XmRepTypeValidValue - a representation type manager function that tests
    the validity of a numerical value of a representation type resource

 Syntax


    #include <Xm/RepType.h>

    Boolean XmRepTypeValidValue (rep_type_id, test_value,
                                enable_default_warning)
    XmRepTypeId rep_type_id;
    unsigned char test_value;
    Widget enable_default_warning;


 Description

    XmRepTypeValidValue tests the validity of a numerical value for a given
    representation type resource. The function generates a default warning
    message if the value is invalid and the enabledefaultwarning argument
    is non-NULL.

    reptypeid
            Specifies the identification number of the representation type.

    testvalue
            Specifies the numerical value to test.

    enabledefaultwarning
            Specifies the ID of the widget that contains a default warning
            message. If this parameter is NULL, no default warning message is
            generated and the application must provide its own error han-
            dling.

 Return value

    Returns True if the specified value is valid; otherwise, returns False.

 See also

    XmRepTypeGetId(Xm) and XmRepTypeRegister(Xm).


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026