code: def setShowTitle( self, state ):
          
          self._showTitle = state
          
          margins = list(self.getContentsMargins())
          if state:
              margins[1] = self.titleHeight()
          else:
              margins[1] = 0
          
          self.setContentsMargins(*margins)
docs: Sets whether or not the title for this menu should be displayed in the \
          popup.
          
          :param      state | <bool>