def setReadOnly( self, state ):
        """
        Sets the read only for this widget to the inputed state.  
        Differs per type, not all types support read only.
        
        :param      text | <str>
        """
        if ( self._editor and hasattr(self._editor, 'setReadOnly') ):
            self._editor.setReadOnly(state)
            return True
        return False