mirror of https://github.com/kivy/kivy.git
window: remove any reference to KIVY_SHADOW, this is not used anymore at all. Window is created as soon as kivy.core.window is imported + as soon as opengl is used. Closes #126
This commit is contained in:
parent
0aa611b606
commit
8719670033
|
@ -19,7 +19,6 @@ import sys
|
|||
import re
|
||||
from glob import glob
|
||||
|
||||
os.environ['KIVY_SHADOW_WINDOW'] = '0'
|
||||
import kivy
|
||||
|
||||
# force loading of kivy modules
|
||||
|
|
|
@ -19,23 +19,10 @@ from kivy.event import EventDispatcher
|
|||
class WindowBase(EventDispatcher):
|
||||
'''WindowBase is a abstract window widget, for any window implementation.
|
||||
|
||||
.. warning::
|
||||
|
||||
The parameters are not working in normal case. Because at import, Kivy
|
||||
create a default OpenGL window, to add the ability to use OpenGL
|
||||
directives, texture creation.. before creating Window.
|
||||
If you don't like this behavior, you can include before the very first
|
||||
import of Kivy ::
|
||||
|
||||
import os
|
||||
os.environ['KIVY_SHADOW'] = '0'
|
||||
|
||||
This will forbid Kivy to create the default window !
|
||||
|
||||
|
||||
:Parameters:
|
||||
`fullscreen`: bool
|
||||
Make window as fullscreen
|
||||
`fullscreen`: str, one of ('0', '1', 'auto', 'fake')
|
||||
Make window as fullscreen, check config documentation for more
|
||||
explaination about the values.
|
||||
`width`: int
|
||||
Width of window
|
||||
`height`: int
|
||||
|
|
Loading…
Reference in New Issue