How can I make a Tkinter window take up all my display screen area?
sneekula
969
Nearly a Posting Maven
Recommended Answers
Jump to PostHi!
root = Tk() w, h = root.winfo_screenwidth(), root.winfo_screenheight() # use the next line if you also want to get rid of the titlebar root.overrideredirect(1) root.geometry("%dx%d+0+0" % (w, h))
Regards, mawe
Jump to PostThanks! The question and answer were both helpful.
Jeff
All 6 Replies
mawe
6
Junior Poster
jrcagle
77
Practically a Master Poster
sneekula
969
Nearly a Posting Maven
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
mawe
6
Junior Poster
sneekula
969
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.