from Tkinter import *


def nextwin():
        tim = Toplevel(root)
        tim.overrideredirect(True)
        tim.geometry("{0}x{1}+0+0".format(tim.winfo_screenwidth(),tim.winfo_screenheight()))
        tim.focus_set()
        tim.bind("<Escape>", lambda e: e.widget.quit())
        en=Entry(tim)
        en.pack()
        b=Button(tim,text="Exit",command=close)
        b.pack()
        def close():
                        tim.destroy()

root=Tk()
butt=Button(root,text="next window",command=nextwin)
butt.pack()
root.mainloop()


70faf685a5124806474e13c2374ba1c1d98df32f
<mask token>

<mask token>


def nextwin():
    tim = Toplevel(root)
    tim.overrideredirect(True)
    tim.geometry('{0}x{1}+0+0'.format(tim.winfo_screenwidth(), tim.
        winfo_screenheight()))
    tim.focus_set()
    tim.bind('<Escape>', lambda e: e.widget.quit())
    en = Entry(tim)
    en.pack()
    b = Button(tim, text='Exit', command=close)
    b.pack()

    def close():
        tim.destroy()


<mask token>
butt.pack()
root.mainloop()

<mask token>


def nextwin():
    tim = Toplevel(root)
    tim.overrideredirect(True)
    tim.geometry('{0}x{1}+0+0'.format(tim.winfo_screenwidth(), tim.
        winfo_screenheight()))
    tim.focus_set()
    tim.bind('<Escape>', lambda e: e.widget.quit())
    en = Entry(tim)
    en.pack()
    b = Button(tim, text='Exit', command=close)
    b.pack()

    def close():
        tim.destroy()


root = Tk()
butt = Button(root, text='next window', command=nextwin)
butt.pack()
root.mainloop()

from Tkinter import *


def nextwin():
    tim = Toplevel(root)
    tim.overrideredirect(True)
    tim.geometry('{0}x{1}+0+0'.format(tim.winfo_screenwidth(), tim.
        winfo_screenheight()))
    tim.focus_set()
    tim.bind('<Escape>', lambda e: e.widget.quit())
    en = Entry(tim)
    en.pack()
    b = Button(tim, text='Exit', command=close)
    b.pack()

    def close():
        tim.destroy()


root = Tk()
butt = Button(root, text='next window', command=nextwin)
butt.pack()
root.mainloop()

from Tkinter import *


def nextwin():
        tim = Toplevel(root)
        tim.overrideredirect(True)
        tim.geometry("{0}x{1}+0+0".format(tim.winfo_screenwidth(),tim.winfo_screenheight()))
        tim.focus_set()
        tim.bind("<Escape>", lambda e: e.widget.quit())
        en=Entry(tim)
        en.pack()
        b=Button(tim,text="Exit",command=close)
        b.pack()
        def close():
                        tim.destroy()

root=Tk()
butt=Button(root,text="next window",command=nextwin)
butt.pack()
root.mainloop()

