comparison 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
comparison
equal deleted inserted replaced
19:c58b522607f4 20:29b507826eed
22 <HeaderWidgetSelector>: 22 <HeaderWidgetSelector>:
23 size_hint: 0.3, 1 23 size_hint: 0.3, 1
24 auto_width: False 24 auto_width: False
25 25
26 <CagouWidget>: 26 <CagouWidget>:
27 header_input: header_input
27 BoxLayout: 28 BoxLayout:
28 size_hint: 1, None 29 size_hint: 1, None
29 height: 30 30 height: 30
30 Button: 31 Button:
31 text: "wid_XXX" 32 text: "wid_XXX"
32 on_release: root.selector.open(self) 33 on_release: root.selector.open(self)
33 size_hint: None, 1 34 size_hint: None, 1
34 width: 60 35 width: 60
35 TextInput: 36 TextInput:
37 id: header_input
36 multiline: False 38 multiline: False
39 on_text_validate: root.onHeaderInput()