-
Notifications
You must be signed in to change notification settings - Fork 0
/
desgine.kv
78 lines (66 loc) · 1.89 KB
/
desgine.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
68
69
70
71
72
73
74
75
76
77
78
MainWidget:
<MainWidget>:
BoxLayout:
orientation:"vertical"
size_hint:None,None
size:root.size
Image:
id:image
source:"welcome.jfif"
allow_stretch:True
keep_ratio:False
GridLayout:
id:gridlayout
cols:4
size_hint:1,.2
Button:
text:"Start"
on_press:root.change_sub()
font_size:dp(30)
color:0,1,1,1
Button:
text:"Resume"
font_size:dp(30)
color:0,1,0,1
on_press:root.resume()
Button:
text:"Pause"
font_size:dp(30)
color:1,1,0,1
on_press:root.pause()
Button:
text:"Stop"
font_size:dp(30)
color:1,0,0,1
on_release:root.close_window()
Button:
id:phy
text:"Physics"
font_size:dp(30)
color:0,1,1,1
disabled:True
on_press:root.change_image_phys()
on_release:root.phys(3)
Button:
id:che
text:"Chemestry"
font_size:dp(30)
color:0,1,1,1
disabled:True
on_press:root.change_image_chem()
on_release:root.chem(3)
Button:
id:mat
text:"Math"
font_size:dp(30)
color:0,1,1,1
disabled:True
on_press:root.change_image_math()
on_release:root.mat(3)
Button:
id:cut
text:"x"
font_size:dp(30)
color:1,0,0,1
disabled:True
on_press:root.cut()