code: def setShowTypeButton(self, state):
          
          self._showTypeButton = state
          if not state:
              self.uiTypeBTN.hide()
          else:
              self.uiTypeBTN.show()
docs: Sets whether or not the type button is visible.
          
          :param      state | <bool>