Permalink
Browse files

Example 68: Hook up an EnterTextInput to send messages when the enter…

… key is pressed.
  • Loading branch information...
1 parent 17794ee commit 1c9976f5560a368448888a08bc8b9fe106a3eb65 Dusty Phillips committed Jul 26, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 orkiv/orkiv.kv
View
@@ -98,8 +98,9 @@ OrkivRoot:
width: "70dp"
text: "Buddies"
on_release: app.root.show_buddy_list()
- TextInput:
+ EnterTextInput:
id: send_chat_textinput
+ on_enter_key: root.send_message()
Button:
size_hint_x: None
width: "70dp"

0 comments on commit 1c9976f

Please sign in to comment.