next up previous contents index
Next: 5. The GeoMatrixCreate Method Up: 2. The Implementation Previous: 3. The set_values() Method   Contents   Index

4. The NoGeoRequest Method

This method actually doesn't get placed in the class structure, but rather in the GeoMatrix during its creation. Again, the implementation in Trivial.c is boilerplate; the only thing a subclass needs to do is change the tested widget class:

trivial_NoGeoRequest(XmGeoMatrix geo)
    if (BB_InSetValues(geo->composite) &&
        XtClass(geo->composite) == xmTrivialWidgetClass)
        return TRUE;

    return FALSE;

Danny Backx