window size

瀏覽次數:4,857 次
跳到第一則未讀訊息

Pavel Kostelnik

未讀,
2012年3月10日 下午1:23:472012/3/10
收件者:kivy-...@googlegroups.com
Hi folks,

is there any comfortable way to manipulate window position/size except for this -> http://kivy.org/planet/2011/05/the-app-class-and-its-window/ ?

It really feels icky… 

thanks


Mathieu Virbel

未讀,
2012年3月10日 下午2:59:472012/3/10
收件者:kivy-...@googlegroups.com
Hi,

The latest master have now the ability to control the size of the window. But not the position.
By the way, the good way to set the initial size is:

import kivy
kivy.require('1.1.2')
from kivy.config import Config
Config.set('graphics', 'width', '800')
Config.set('graphics', 'height', '600')
...

Before anything else in your application. We are working on a better approach to do this in the long term.

Mathieu
訊息已遭刪除

krister viirsaar

未讀,
2013年4月4日 凌晨4:49:552013/4/4
收件者:kivy-...@googlegroups.com
回覆所有人
回覆作者
轉寄
0 則新訊息