Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'defaults': 0.07; 'tkinter': 0.07; 'pixel': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'width': 0.09; 'python': 0.11; 'windows': 0.15; '8.5,': 0.16; 'measurement': 0.16; 'message-id:@4ax.com': 0.16; 'monitors': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Tkinter': 0.16; 'tape': 0.16; 'width.': 0.16; '(by': 0.24; 'url:home': 0.24; 'possibly': 0.26; 'header:X-Complaints-To:1': 0.27; 'resolution': 0.29; 'returned': 0.30; 'especially': 0.30; 'dimensions': 0.31; 'quite': 0.32; 'text': 0.33; 'could': 0.34; 'but': 0.35; 'charset:us- ascii': 0.36; 'experience,': 0.37; 'two': 0.37; 'being': 0.38; 'nov': 0.38; 'to:addr:python-list': 0.38; 'previous': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'email addr:gmail.com': 0.63; 'real': 0.63; 'different': 0.65; 'laptop': 0.65; 'physical': 0.72; '100%': 0.77; '(while': 0.84; 'steel': 0.84; 'inches': 0.91; '280': 0.93; 'received:108': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Tkinter: winfo_screenmmwidth discussion Date: Tue, 26 Nov 2013 17:55:52 -0500 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-73-119-194.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1385506557 news.xs4all.nl 15905 [2001:888:2000:d::a6]:59997 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60544 On Tue, 26 Nov 2013 14:13:57 -0800 (PST), josefg@gmail.com declaimed the following: >I am currently using Windows 7 Sp1, Tkinter 8.5, Python 2.7.4 on a laptop with no attached monitor. I am attempting to use winfo_screenmmwidth, but the returned value is incorrect. Specs state 280 mm. Physical measurement is 275 mm. EDID states 280 mm. Tkinter's winfo_screenmmwidth returns 361 mm. I don't have very much tkinter experience, please bear with me. > Windows systems used to be quite lax on monitor size... Two monitors of physically different sizes having the same pixel dimensions could possibly report as being the same width. Especially if one is not using 100% for text size and for DPI setting. My current monitor is 20.5 inches across (by steel tape measure), but Windows defaults to 96DPI... Which comes to a 20 inch width when using 1920x1200 (native mode). The real resolution is 93.66DPI (while my previous computer ran a clean 100DPI ) -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/