<small id='QagoZ'></small><noframes id='QagoZ'>

    • <bdo id='QagoZ'></bdo><ul id='QagoZ'></ul>
    <tfoot id='QagoZ'></tfoot>
  • <i id='QagoZ'><tr id='QagoZ'><dt id='QagoZ'><q id='QagoZ'><span id='QagoZ'><b id='QagoZ'><form id='QagoZ'><ins id='QagoZ'></ins><ul id='QagoZ'></ul><sub id='QagoZ'></sub></form><legend id='QagoZ'></legend><bdo id='QagoZ'><pre id='QagoZ'><center id='QagoZ'></center></pre></bdo></b><th id='QagoZ'></th></span></q></dt></tr></i><div id='QagoZ'><tfoot id='QagoZ'></tfoot><dl id='QagoZ'><fieldset id='QagoZ'></fieldset></dl></div>

      1. <legend id='QagoZ'><style id='QagoZ'><dir id='QagoZ'><q id='QagoZ'></q></dir></style></legend>
      2. 怎么才能拿到Tkinter的屏幕尺寸呢?

        How can I get the screen size in Tkinter?(怎么才能拿到Tkinter的屏幕尺寸呢?)
      3. <legend id='Kb80e'><style id='Kb80e'><dir id='Kb80e'><q id='Kb80e'></q></dir></style></legend>
        <i id='Kb80e'><tr id='Kb80e'><dt id='Kb80e'><q id='Kb80e'><span id='Kb80e'><b id='Kb80e'><form id='Kb80e'><ins id='Kb80e'></ins><ul id='Kb80e'></ul><sub id='Kb80e'></sub></form><legend id='Kb80e'></legend><bdo id='Kb80e'><pre id='Kb80e'><center id='Kb80e'></center></pre></bdo></b><th id='Kb80e'></th></span></q></dt></tr></i><div id='Kb80e'><tfoot id='Kb80e'></tfoot><dl id='Kb80e'><fieldset id='Kb80e'></fieldset></dl></div>
          <bdo id='Kb80e'></bdo><ul id='Kb80e'></ul>
        • <tfoot id='Kb80e'></tfoot>

                <tbody id='Kb80e'></tbody>

                <small id='Kb80e'></small><noframes id='Kb80e'>

                  本文介绍了怎么才能拿到Tkinter的屏幕尺寸呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想知道是否可以使用Tkinter计算屏幕大小。

                  我想要这样可以使程序在屏幕中央打开.

                  推荐答案

                  import tkinter as tk
                  
                  root = tk.Tk()
                  
                  screen_width = root.winfo_screenwidth()
                  screen_height = root.winfo_screenheight()
                  

                  这篇关于怎么才能拿到Tkinter的屏幕尺寸呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Split a Pandas column of lists into multiple columns(将 Pandas 的列表列拆分为多列)
                  How does the @property decorator work in Python?(@property 装饰器在 Python 中是如何工作的?)
                  What is the difference between old style and new style classes in Python?(Python中的旧样式类和新样式类有什么区别?)
                  How to break out of multiple loops?(如何打破多个循环?)
                  How to put the legend out of the plot(如何将传说从情节中剔除)
                  Why is the output of my function printing out quot;Nonequot;?(为什么我的函数输出打印出“无?)

                  1. <small id='umElq'></small><noframes id='umElq'>

                  2. <tfoot id='umElq'></tfoot>

                    <legend id='umElq'><style id='umElq'><dir id='umElq'><q id='umElq'></q></dir></style></legend>
                        <bdo id='umElq'></bdo><ul id='umElq'></ul>

                          <tbody id='umElq'></tbody>

                          <i id='umElq'><tr id='umElq'><dt id='umElq'><q id='umElq'><span id='umElq'><b id='umElq'><form id='umElq'><ins id='umElq'></ins><ul id='umElq'></ul><sub id='umElq'></sub></form><legend id='umElq'></legend><bdo id='umElq'><pre id='umElq'><center id='umElq'></center></pre></bdo></b><th id='umElq'></th></span></q></dt></tr></i><div id='umElq'><tfoot id='umElq'></tfoot><dl id='umElq'><fieldset id='umElq'></fieldset></dl></div>