Leger avancement
This commit is contained in:
parent
abd15f28b6
commit
ce2e7fa135
@ -3,12 +3,17 @@
|
|||||||
|
|
||||||
from kivy.app import App
|
from kivy.app import App
|
||||||
from kivy.uix.widget import Widget
|
from kivy.uix.widget import Widget
|
||||||
|
from kivy.uix.label import Label
|
||||||
|
|
||||||
class PongGame(Widget):
|
quote = "It is not that we have a short time to live, but that we waste a lot of it. Life is long enough, and a sufficiently generous amount has been given to us for the highest achievements if it were all well invested"
|
||||||
pass
|
|
||||||
|
|
||||||
class TestApp(App):
|
class MementoMori(Widget):
|
||||||
|
my_label = Label()
|
||||||
|
my_label.text = quote
|
||||||
|
my_label.color = '#FFFFFF'
|
||||||
|
|
||||||
|
class MementoApp(App):
|
||||||
def build(self):
|
def build(self):
|
||||||
return PongGame()
|
return MementoMori()
|
||||||
|
|
||||||
TestApp().run()
|
MementoApp().run()
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user