Friday, July 15, 2022

Lesson(1)

 Got a bit flustered yesterday trying to use Python tkinter.

the GUI library. Decided to sort things out for myself by doing a 

few tutorials. Below, Lesson 1 from CodeBro:



Tk() is root or window. the mainloop()is what keeps the window open in all 

Python applications. Geometry() is the method for size; configure() that for 

appearance. PhotoImage comes wth a whole library of its own - PIL-  not called 

here. iconfigure is the little visual at the top left of the window. Set to true, it get re-used 

for all subsequent windows.


Made two versions of the icon for this series:




No comments: