Lesson #3
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
from tkinter import *
|
||||||
|
|
||||||
|
root = Tk()
|
||||||
|
|
||||||
|
|
||||||
|
def myClick():
|
||||||
|
myLabel = Label(root, text="Look! I clicked a Button!")
|
||||||
|
myLabel.pack()
|
||||||
|
|
||||||
|
|
||||||
|
myButton = Button(root, text="Click Me!", command=myClick, fg="blue", bg="#000000")
|
||||||
|
myButton.pack()
|
||||||
|
|
||||||
|
root.mainloop()
|
||||||
@@ -6,3 +6,4 @@
|
|||||||
|
|
||||||
* [Create Graphical User Interfaces With Python And TKinter](https://www.youtube.com/watch?v=yQSEXcf6s2I&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)
|
* [Create Graphical User Interfaces With Python And TKinter](https://www.youtube.com/watch?v=yQSEXcf6s2I&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)
|
||||||
* [Positioning With Tkinter's Grid System - Python Tkinter GUI Tutorial #2](https://www.youtube.com/watch?v=BSfbjrqIw20&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)
|
* [Positioning With Tkinter's Grid System - Python Tkinter GUI Tutorial #2](https://www.youtube.com/watch?v=BSfbjrqIw20&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)
|
||||||
|
* [Creating Buttons With TKinter - Python Tkinter GUI Tutorial #3](https://www.youtube.com/watch?v=yuuDJ3-EdNQ&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)
|
||||||
|
|||||||
Reference in New Issue
Block a user