Mercurial > libervia-desktop-kivy
diff src/cagou/kv/cagou_widget.kv @ 20:29b507826eed
header's input field is now accessible with self.header_input and call onHeaderInput() on text entered
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 08 Aug 2016 01:02:23 +0200 |
parents | 56838ad5c84b |
children | d09bd16dbbe2 |
line wrap: on
line diff
--- a/src/cagou/kv/cagou_widget.kv Mon Aug 08 00:58:59 2016 +0200 +++ b/src/cagou/kv/cagou_widget.kv Mon Aug 08 01:02:23 2016 +0200 @@ -24,6 +24,7 @@ auto_width: False <CagouWidget>: + header_input: header_input BoxLayout: size_hint: 1, None height: 30 @@ -33,4 +34,6 @@ size_hint: None, 1 width: 60 TextInput: + id: header_input multiline: False + on_text_validate: root.onHeaderInput()