|
| green_btn = Button(self, text="Green", width=10)
| green_btn.grid(row=0, column=2)
| blue_btn = Button(self, text="Blue", width=10)
| blue_btn.grid(row=0, column=3)
|
| black_btn = Button(self, text="Black", width=10)
| black_btn.grid(row=0, column=4)
|
| white_btn = Button(self, text="White", width=10)
| white_btn.grid(row=0, column=5)
| size_lab = Label(self, text="Brush size: ") # Создаем метку для кнопок изменения размера кисти
| size_lab.grid(row=1, column=0, padx=5)
| one_btn = Button(self, text="Two", width=10)
| one_btn.grid(row=1, column=1)
|
| two_btn = Button(self, text="Five", width=10)
| two_btn.grid(row=1, column=2)
| five_btn = Button(self, text="Seven", width=10)
| five_btn.grid(row=1, column=3)
|
| seven_btn = Button(self, text="Ten", width=10)
| seven_btn.grid(row=1, column=4)
| ten_btn = Button(self, text="Twenty", width=10)
| ten_btn.grid(row=1, column=5)
|
| twenty_btn = Button(self, text="Fifty", width=10)