-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.kv
61 lines (43 loc) · 1.34 KB
/
main.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
#:kivy 1.10.1
#:import Factory kivy.factory.Factory
#:include GUI/screens.kv
#:include GUI/widgets_settings.kv
#:include GUI/widgets_drinks.kv
#:include GUI/rezept_adder.kv
#:include GUI/settings_drinks.kv
<HomeScreen>:
sm: sm
name: 'ScreenManager'
BoxLayout:
orientation: 'vertical'
rows: 2
ActionBar:
pos_hint: {'top': 1}
size_hint_y: .065
ActionView:
use_separator: True
ActionPrevious:
ActionOverflow:
ActionButton:
text: 'Cocktails'
on_press:
root.switch(1)
ActionButton:
text: 'Drinks'
on_press:
root.switch(2)
ActionButton:
text: 'Alkoholfreies'
on_press:
root.switch(3)
ActionButton:
text: 'Einstellungen'
on_press:
root.switch(4)
ScreenManager:
id: sm
size_hint_y: .935
Screen1:
Screen2:
Screen3:
Screen4: