<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">from kivymd.app import MDApp
from kivy.lang import Builder
from kivy.core.window import Window
from kivymd.toast import toast

class MonAppli(MDApp):
	title = "Mon appli"
	#icon = "Images/icon.png"  

	def build(self):
		self.theme_cls.theme_style = "Light"
		self.theme_cls.primary_palette = "Teal"
		Window.size = (800,600)
		toast("C'est parti !")

		return Builder.load_file("design.kv")

	def bouton_cliquer(self) :
		self.root.ids.mon_label.text = "Tu as cliquÃ© sur le bouton !"


if __name__ == '__main__':
	MonAppli().run()</pre></body></html>