Screen: MDFlatButton: id: "SIGNUPBUTTON" text: "Sign Up" size_hint: (.8,.08) pos_hint: {'center_x': .5,'center_y': .5} font_size: "16sp" md_bg_color: "#3700B3" on_press: root.Success()
class DemoApp(MDApp): def build(self): mainscreen = Builder.load_file("operation.kv") return mainscreen def Success(self): print("SUCCESS")
on_press: root.Success()
success
root
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)