def setFilenames( self, filenames ):
        """
        Sets the list of filenames that will be used for this menu to the \
        inputed list.
        
        :param      filenames | [<str>, ..]
        """
        mapped = []
        for filename in filenames:
            filename = nativestring(filename)
            if ( not filename ):
                continue
            
            mapped.append(filename)
            if ( len(mapped) == self.maximumLength() ):
                break
        
        self._filenames = mapped
        self.refresh()
Sets the list of filenames that will be used for this menu to the \
        inputed list.
        
        :param      filenames | [<str>, ..]