Skip to content

Commit

Permalink
Example 68: Hook up an EnterTextInput to send messages when the enter…
Browse files Browse the repository at this point in the history
… key is pressed.
  • Loading branch information
Dusty Phillips committed Jul 31, 2013
1 parent 17794ee commit 1c9976f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orkiv/orkiv.kv
Expand Up @@ -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"
Expand Down

0 comments on commit 1c9976f

Please sign in to comment.