#!/usr/bin/python	
from tkinter import * 			# imports the Tkinter lib
root = Tk()				# create the root object
root.wm_title("Hello World")		# sets title of the window
root.configure(bg="#99B898")		# change the background color 
root.attributes("-fullscreen", True) 	# set to fullscreen


label_1 = Label(root, text="Hello, World!", font="Verdana 26 bold",
			fg="#000",
			bg="#99B898")

label_2 = Label(root, text="What is your name?",  height=3,
			fg="#000",
			bg="#99B898")

entry_1 = Entry(root)

#Add a button inside the window
Button = Button(root, text="Submit")


label_1.grid(row=0, column=0)
label_2.grid(row=1, column=0)
entry_1.grid(row=1, column=1) 
Button.grid(row=2, column=1)

# we can exit when we press the escape key
def end_fullscreen(event):
	root.attributes("-fullscreen", False)



root.bind("<Escape>", end_fullscreen)
root.mainloop()				# starts the GUI loop
