-
1、使用官方示例,我不需要菜单栏,所以把MainWindow换成Window后,在运行时报错了【1、Using the official example, I didn't need a menu bar, so when I changed MainWindow to Window, I reported an error during runtime】:“”“ValueError: Application does not have a main window. Does your startup() method assign a value to self.main_window?“”“ 2、翻阅了问题讨论,同样的:最小化窗口后,不能复原原来的窗口大小?【2. After reviewing the discussion of the issue, it was found that some users have suggested that after minimizing the window, the original window size cannot be restored?】 所以上述问题有解决方法不?谢谢【So is there a solution to the above problem? thank you】 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The "latest" version of the documentation contains things we haven't released yet (#2708). Please use the "stable" version instead. You can switch between them with the green menu at the bottom left of the page, or by editing the URL.
The option to use a Window as the
We're aware of this issue (#2729), but we don't have a solution for it at the moment. |
Beta Was this translation helpful? Give feedback.
The "latest" version of the documentation contains things we haven't released yet (#2708). Please use the "stable" version instead. You can switch between them with the green menu at the bottom left of the page, or by editing the URL.
The option to use a Window as the
main_window
will be added in the next version of Toga. In the stable version of Toga you need to use a MainWindow.We're aware of this issue (#2729), but we d…