parameters: (self, allColumns, hiddenColumns)
docstring: Set the columns in the context menu.
  
          Args:
              allColumns (list(str)): list of column names
              hiddenColumns (list(str)): list of hidden column names
docstring_summary: Set the columns in the context menu.
docstring_tokens: Set the columns in the context menu .
function: def setColumns(self, allColumns, hiddenColumns):
          """
          Set the columns in the context menu.
  
          Args:
              allColumns (list(str)): list of column names
              hiddenColumns (list(str)): list of hidden column names
          """
          for column in allColumns:
              if column in hiddenColumns:
                  action = self._colMenu.addAction(icons.get_icon("mdi.close"),
                                                   column)
              else:
                  action = self._colMenu.addAction(icons.get_icon("mdi.check"),
                                                   column)
              action.triggered.connect(lambda _, c=column:
                                       self.toogleColumnVisibility.emit(c))
function_tokens: def setColumns ( self , allColumns , hiddenColumns ) : for column in allColumns : if column in hiddenColumns : action = self . _colMenu . addAction ( icons . get_icon ( "mdi.close" ) , column ) else : action = self . _colMenu . addAction ( icons . get_icon ( "mdi.check" ) , column ) action . triggered . connect ( lambda _ , c = column : self . toogleColumnVisibility . emit ( c ) )