Sets the display mode for this widget to the inputed mode.
        
        :param      state | <bool>

def setShowScriptName(self, state):
        """
        Sets the display mode for this widget to the inputed mode.
        
        :param      state | <bool>
        """
        if state == self._showScriptName:
            return
        
        self._showScriptName = state
        self.setDirty()