Permalink
Browse files

Example 10: Hook up the event handler in the KV file.

Now when you run it, you should get output on the console for each button click.
  • Loading branch information...
1 parent 883322f commit 26938a395068bbf736368b87e6cab3f6865c8b21 Dusty Phillips committed Jun 19, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 orkiv/orkiv.kv
View
@@ -25,4 +25,5 @@ AccountDetailsForm:
Button:
size_hint_y: None
height: "40dp"
- text: "Login"
+ text: "Login"
+ on_press: root.login()

0 comments on commit 26938a3

Please sign in to comment.