Browse files

Example 55: Add event handlers to the BuddyListItem and Buddies button.

Now we can switch back and forth between the two views at will. Of course, the two views are rather boring...
  • Loading branch information...
1 parent 767a56e commit 401f2b5b3214e2f1194a1382fd7e691d08199e71 @buchuki committed Jul 20, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 orkiv/orkiv.kv
View
2 orkiv/orkiv.kv
@@ -47,6 +47,7 @@ OrkivRoot:
size_hint_y: None
height: "75dp"
selected_color: (0.2, 0.1, 0.2, 1.0)
+ on_release: app.root.show_buddy_chat(self.jabberid)
BoxLayout:
size_hint_x: 3
@@ -91,6 +92,7 @@ OrkivRoot:
size_hint_x: None
width: "70dp"
text: "Buddies"
+ on_release: app.root.show_buddy_list()
TextInput:
id: send_chat_textinput
Button:

0 comments on commit 401f2b5

Please sign in to comment.