【问题标题】:How can I force a window full screen in python (using easyGUI)如何在python中强制窗口全屏(使用easyGUI)
【发布时间】:2011-10-23 04:27:30
【问题描述】:

我刚开始在 Python 中使用 easyGUI,遇到了一些麻烦。我希望我的应用程序全屏运行。但是,我不知道如何让它发挥作用。

这可以适用于任何 python/easyGUI 代码,例如像 hello world 这样简单的代码:

from easygui import *
msgbox("Hello, world!")

非常感谢您的建议!

【问题讨论】:

    标签: python fullscreen easygui


    【解决方案1】:

    我认为使用EasyGUI 是不可能的,因为methods 甚至都不允许使用宽度和高度参数;您正在牺牲可扩展性来换取易用性。

    这可以直接用 Tkinter 完成。这是Making a Toplevel cover the Full Screen 的一个很好的例子。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-10-23
      • 1970-01-01
      • 2019-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-10
      相关资源
      最近更新 更多