def validate ( self, object, name, value ):
        if value is None:
            return None

        try:
            return create_traitsfont( value )
        except:
            pass

        raise TraitError(object, name, 'a font descriptor string',
                         repr(value))
Validates that the value is a valid font descriptor string. If so,
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/font_trait.py/TraitWXFont.validate