KivyのScreen Managerでの画面の遷移アクションいろいろ、の巻

KivyのScreen Managerでの画面の遷移アクションいろいろ、の巻

はじめに

KivyのScreen Managerにおいて、画面を切り替える際の遷移アクションがデフォルトでいくつか用意されています。

NoTransition – switches screens instantly with no animation

SlideTransition – slide the screen in/out, from any direction

CardTransition – new screen slides on the previous or the old one slides off the new one depending on the mode

SwapTransition – implementation of the iOS swap transition

FadeTransition – shader to fade the screen in/out

WipeTransition – shader to wipe the screens from right to left

FallOutTransition – shader where the old screen ‘falls’ and becomes transparent, revealing the new one behind it.

RiseInTransition – shader where the new screen rises from the screen centre while fading from transparent to opaque.

https://kivy.org/doc/stable/api-kivy.uix.screenmanager.html

ふむふむなるほど、なんとなくしかわからん ( ´ ▽ ` )

というわけで、Kivyの画面遷移がどんな感じか視覚的にパッと分かるものが無かったのでメモ。

Kivyのバージョンは2.1.0です。

Kivyの画面遷移アクションいろいろ

おわりに

KivyのScreen Managerでの画面遷移アクションいろいろでした。

参考にしたページ

https://kivy.org/doc/stable/api-kivy.uix.screenmanager.html


さてと、こんなのいかがでしょう?


GUI Programming with Python and Kivy



Python Programming for Beginners: The Complete Guide to Mastering Python in 7 Days with Hands-On Exercises – Top Secret Coding Tips to Get an Unfair Advantage … and Land Your Dream Job! (English Edition)


Kivyで作ったAndroidアプリ

myRoupeiro – サッカーの試合記録と分析 – for amazon



ちょっと広告です
https://business.xserver.ne.jp/

https://www.xdomain.ne.jp/

wpX Speed / wpX

★LOLIPOP★

.tokyo

MuuMuu Domain!