Lesson #2
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
from tkinter import *
|
||||||
|
|
||||||
|
root = Tk()
|
||||||
|
|
||||||
|
# Creating a Label Widget
|
||||||
|
myLabel1 = Label(root, text="Hello World!")
|
||||||
|
myLabel2 = Label(root, text="My Name is John Elder")
|
||||||
|
# Shoving it onto the screen
|
||||||
|
|
||||||
|
myLabel1.grid(row=0, column=0)
|
||||||
|
myLabel2.grid(row=1, column=5)
|
||||||
|
|
||||||
|
|
||||||
|
root.mainloop()
|
||||||
@@ -5,3 +5,4 @@
|
|||||||
## Lessons
|
## Lessons
|
||||||
|
|
||||||
* [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)
|
||||||
|
|||||||
Reference in New Issue
Block a user