old_version/gui.py
def create_cells_and_entries(self, frame: tk.Frame, square_row: int) -> None:
        """
        Creates  9 cells inside a square.
        :param frame: tkinter maser element (square) for a cell
        :param square_row: number of square's index
        :return: None
        """
        for row in range(3):
            for column in range(3):
                cell = tk.Frame(frame, bg='white', highlightbackground='black',
                                highlightcolor='black', highlightthickness=0.5,
                                width=40, heigh=40, padx=3, pady=3)
                cell.grid(row=row, column=column)
                row_index = square_row * 3 + row
                entry_cell = EntryCell(cell)
                self.entries[row_index].append(entry_cell)
        return None

        Creates  9 cells inside a square.
        :param frame: tkinter maser element (square) for a cell
        :param square_row: number of square's index
        :return: None
        
Creates  9 cells inside a square.
Creates 9 cells inside a square .
def create_cells_and_entries(self, frame: tk.Frame, square_row: int) -> None:
        for row in range(3):
            for column in range(3):
                cell = tk.Frame(frame, bg='white', highlightbackground='black',
                                highlightcolor='black', highlightthickness=0.5,
                                width=40, heigh=40, padx=3, pady=3)
                cell.grid(row=row, column=column)
                row_index = square_row * 3 + row
                entry_cell = EntryCell(cell)
                self.entries[row_index].append(entry_cell)
        return None
def create_cells_and_entries ( self , frame : tk . Frame , square_row : int ) -> None : for row in range ( 3 ) : for column in range ( 3 ) : cell = tk . Frame ( frame , bg = 'white' , highlightbackground = 'black' , highlightcolor = 'black' , highlightthickness = 0.5 , width = 40 , heigh = 40 , padx = 3 , pady = 3 ) cell . grid ( row = row , column = column ) row_index = square_row * 3 + row entry_cell = EntryCell ( cell ) self . entries [ row_index ] . append ( entry_cell ) return None
Creates  9 cells inside a square.
Creates 9 cells inside a square .
"""
        Creates  9 cells inside a square.
        :param frame: tkinter maser element (square) for a cell
        :param square_row: number of square's index
        :return: None
        """
None
self
frame
tk.Frame
tkinter maser element (square) for a cell
tkinter maser element ( square ) for a cell
square_row
int
number of square's index
number of square ' s index