Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from kivy.app import App
- from kivy.uix.button import Button
- from kivy.uix.boxlayout import BoxLayout
- from kivymd.theming import ThemeManager
- from kivy.core.window import Window
- from kivy.uix.widget import Widget
- class PainterWidget(Widget):
- def __init__(self,**kwargs):
- super(PainterWidget,self).__init__(**kwargs)
- class PaintApp(App):
- theme_cls = ThemeManager()
- title = 'Library MGPK'
- def build(self):
- self.theme_cls.theme_style = 'Dark'
- return PainterWidget()
- if __name__ == "__main__":
- PaintApp().run()
Add Comment
Please, Sign In to add comment