old_version/gui.py
def create_buttons(self, frame: tk.LabelFrame) -> None:
        """
        Creates 3 buttons on the bottom af window.
        :param frame: tkinter master element (window's grid)
        :return: None
        """
        solve_button = tk.Button(frame, text='Solve Sudoku', font=10, command=self.solve)
        solve_button.grid(row=9, column=0, pady=(10, 0))
        examples_button = tk.Button(frame, text='Get example', font=1, command=self.example)
        examples_button.grid(row=9, column=1, pady=(10, 0))
        clear_button = tk.Button(frame, text='Clear Sudoku', font=10, command=self.clear)
        clear_button.grid(row=9, column=2, pady=(10, 0))
        return None

        Creates 3 buttons on the bottom af window.
        :param frame: tkinter master element (window's grid)
        :return: None
        
Creates 3 buttons on the bottom af window.
Creates 3 buttons on the bottom af window .
def create_buttons(self, frame: tk.LabelFrame) -> None:
        solve_button = tk.Button(frame, text='Solve Sudoku', font=10, command=self.solve)
        solve_button.grid(row=9, column=0, pady=(10, 0))
        examples_button = tk.Button(frame, text='Get example', font=1, command=self.example)
        examples_button.grid(row=9, column=1, pady=(10, 0))
        clear_button = tk.Button(frame, text='Clear Sudoku', font=10, command=self.clear)
        clear_button.grid(row=9, column=2, pady=(10, 0))
        return None
def create_buttons ( self , frame : tk . LabelFrame ) -> None : solve_button = tk . Button ( frame , text = 'Solve Sudoku' , font = 10 , command = self . solve ) solve_button . grid ( row = 9 , column = 0 , pady = ( 10 , 0 ) ) examples_button = tk . Button ( frame , text = 'Get example' , font = 1 , command = self . example ) examples_button . grid ( row = 9 , column = 1 , pady = ( 10 , 0 ) ) clear_button = tk . Button ( frame , text = 'Clear Sudoku' , font = 10 , command = self . clear ) clear_button . grid ( row = 9 , column = 2 , pady = ( 10 , 0 ) ) return None
Creates 3 buttons on the bottom af window.
Creates 3 buttons on the bottom af window .
"""
        Creates 3 buttons on the bottom af window.
        :param frame: tkinter master element (window's grid)
        :return: None
        """
None
self
frame
tk.LabelFrame
tkinter master element (window's grid)
tkinter master element ( window ' s grid )