回答編集履歴
1
もうちょっとスプラッシュのスコープを小さく
test
CHANGED
@@ -3,6 +3,8 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
```python
|
6
|
+
|
7
|
+
|
6
8
|
|
7
9
|
from threading import Thread
|
8
10
|
|
@@ -80,23 +82,27 @@
|
|
80
82
|
|
81
83
|
|
82
84
|
|
83
|
-
i
|
85
|
+
with Splash("ちょっとまってね"):
|
84
86
|
|
85
|
-
|
87
|
+
from kivy.app import App
|
86
88
|
|
87
|
-
from kivy.app import App
|
88
|
-
|
89
|
-
|
89
|
+
from kivy.uix.button import Button
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
-
class TestApp(App):
|
94
|
-
|
95
|
-
def build(self):
|
96
|
-
|
97
|
-
return Button(text='Hello World')
|
98
93
|
|
99
94
|
|
95
|
+
class TestApp(App):
|
96
|
+
|
97
|
+
def build(self):
|
98
|
+
|
99
|
+
return Button(text='Hello World')
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
if __name__ == '__main__':
|
100
106
|
|
101
107
|
TestApp().run()
|
102
108
|
|