Message160451
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. |
|
Date |
User |
Action |
Args |
2012-05-11 21:19:02 | ned.deily | set | recipients:
+ ned.deily, terry.reedy, takluyver, serhiy.storchaka |
2012-05-11 21:19:02 | ned.deily | set | messageid: <1336771142.17.0.805767089452.issue14777@psf.upfronthosting.co.za> |
2012-05-11 21:19:01 | ned.deily | link | issue14777 messages |
2012-05-11 21:19:01 | ned.deily | create | |
|