-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkric.kv
67 lines (56 loc) · 1.44 KB
/
kric.kv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<base>:
id: Base
rows: 2
cols : 1
padding: 10
spacing: 10
#pos_hint: {'top':1}
BoxLayout:
orientation: "horizontal"
size_hint: 0.3, 0.1
Button:
id : mini
text: '-'
on_press : root.Minus_app_button()
size_hint: 0.3, 0.1
background_color: 0, 0, 0, 0
Button:
id : full
text: '[]'
on_press : root.MaxiMin_app_button()
size_hint: 0.3, 0.1
background_color: 0, 0, 0, 0
Button:
id : close
text: 'X'
#on_press : root.kill()
on_press : root.close_app_button()
size_hint: 0.3, 0.1
background_color: 0, 0, 0, 0
GridLayout:
id: Base
rows: 3
cols : 1
padding: 10
spacing: 10
Image:
id: eye
source: 'blink.gif'
size_hint: 4, 4
TextInput:
id: entry
hint_text:'Enter text'
font_size: 32
multiline: False
on_text_validate: root.think(entry.text) #t.text = root.think()
#height : 100
#width : 100
size_hint: 2, 2
Label:
id : output
text : 'Hi there, I am KRIC.'
#height : 100
#width : 100
size_hint: 1, 1
markup: True
#self.root.ids.time.text = strftime('[b]%H[/b]:%M:%S')