Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 401f2b5b3214e2f1194a1382fd7e691d08199e71 1 parent 767a56e
@buchuki authored
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:
Please sign in to comment.
Something went wrong with that request. Please try again.