homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ned.deily, serhiy.storchaka, takluyver, terry.reedy
Date 2012年05月11日.21:19:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336771142.17.0.805767089452.issue14777@psf.upfronthosting.co.za>
In-reply-to
Content
Most likely the best way to determine the windowing system is to use the "tk windowingsystem" command (http://www.tcl.tk/man/tcl8.5/TkCmd/tk.htm#M10), so something like this:
 root = tkinter.Tk()
 root.call(('tk', 'windowingsystem'))
As documented, the call returns 'x11' for X11-based systems, 'win32' for Windows, and 'aqua' for the native OS X implementations.
History
Date User Action Args
2012年05月11日 21:19:02ned.deilysetrecipients: + ned.deily, terry.reedy, takluyver, serhiy.storchaka
2012年05月11日 21:19:02ned.deilysetmessageid: <1336771142.17.0.805767089452.issue14777@psf.upfronthosting.co.za>
2012年05月11日 21:19:01ned.deilylinkissue14777 messages
2012年05月11日 21:19:01ned.deilycreate

AltStyle によって変換されたページ (->オリジナル) /