On 24/10/16 22:36, Elliott Andrews wrote: > Sorry is this sounds really broad, and I am happy to clarify and points.
Sorry I just noticed another point that I can't overlook. You have code/comment: root = Tk() #The actual statment which opens the window, toplevel = root.winfo_toplevel() #Setting window header # to attach to top of screen (first half of # making window maximised) This is not how best to maximise a window. First you should find that toplevel is the same as root. ie toplevel == root is True. So instead of: toplevel.wm_state('zoomed') #Setting inner window to stretch You should be able to do root.wm_state('zoomed') instead. Although you don't strictly need the wm_ prefix since Tkinter provides the state() shortcut: root.state('zoomed') Except that doesn't work for me and I get an error about 'zoomed' being an invalid choice. The more usual way is to set the geometry to the screen size: top = Tk() top.withdraw() # hide the window sh = top.winfo_screenheight() sw = top.winfo_screenwidth() top.geometry("%sx%s" % (sw,sh)) # resize it to full screen top.deiconify() # show the resized window [The hide/show sequence is because if the window layout is complex it will be redrawn much more quickly and without any flickering if you hide/show.] Finally, be aware that maximising a window is considered bad practice in modern GUI design for two reasons: 1) Modern OS allow users to multi-task and grabbing the whole screen to yourself is a bit greedy and makes it very annoying to the user. I have a 32 inch monitor precisely because I want to see (say) my browser, email and spreadsheet all at the same time! 2) Given that screens can range widely in size it is almost impossible to guarantee that your widget layouts and fonts will be usable on every screen. (compare a 1024x768 netbook display with a 4096x2160 4K video monitor) HTH -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor