파이썬[Python]: kivy - Window 인스턴스
kivy.core.window 모듈 - Window 객체(Instance)
/// 설명
'WindowBase' 클래스의 인스턴스 입니다.
Instance of a class 'WindowBase' implementation
according to the file: kivy/core/window/__init__.py
참고: animation to gesture 모듈 목록
※ 형식
Window
reference
https://kivy.org/doc/stable/api-kivy.core.window.html
Instance of a class 'WindowBase' implementation
according to the file: kivy/core/window/__init__.py
참고: animation to gesture 모듈 목록
※ 형식
Window
reference
https://kivy.org/doc/stable/api-kivy.core.window.html
/// 예제
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import kivy kivy.require('2.0.0') from kivy.app import App from kivy.core.window import Window Window.clearcolor = (.5, .0, .5, .1) # Background Color of Window (r, g, b, transparency) Window.size = (563, 1001) # size of Window Window.top = 30 # position(y) on your screen Window.left = 800 # position(x) on your screen class TestApp(App): def build(self): pass TestApp().run() | cs |
/// 출력
* 실행환경: Microsoft Windows 10 Homes
* 인터프리터: 파이썬(Python 3.9)
– 당신을 응원합니다. –
댓글
댓글 쓰기