kivy splash screen

Solutions on MaxInterview for kivy splash screen by the best coders in the world

showing results for - "kivy splash screen"
Vincenzo
28 Jun 2020
1from kivy.app import App
2from kivy.uix.image import Image
3from kivy.animation import Animation
4from kivy.clock import Clock
5
6class timer():
7    def work1(self):
8        print("Hello World")
9
10class arge(App):
11
12    def build(self):
13
14        #Splash Screen
15        wing = Image(source= "bookLogo.jpg",pos=(800,800))
16        animation = Animation(x=0, y=0, d=2, t='out_bounce');
17        animation.start(wing)
18
19
20        Clock.schedule_once(timer.work1, 5) #run timer.work1 after 5 seconds
21
22        return wing
23
24if __name__ == '__main__':
25    arge().run()
26