code: def set_menu(self, ):
          
          self.menu = QtGui.QMenu(self)
          actions = self.reftrack.get_additional_actions()
          self.actions = []
          for a in actions:
              if a.icon:
                  qaction = QtGui.QAction(a.icon, a.name, self)
              else:
                  qaction = QtGui.QAction(a.name, self)
              qaction.setCheckable(a.checkable)
              qaction.setChecked(a.checked)
              qaction.setEnabled(a.enabled)
              qaction.triggered.connect(a.action)
              self.actions.append(qaction)
              self.menu.addAction(qaction)
          self.menu_tb.setMenu(self.menu)
docs: Setup the menu that the menu_tb button uses
  
          :returns: None
          :rtype: None
          :raises: None