-
Notifications
You must be signed in to change notification settings - Fork 5
/
andcat.kv
32 lines (31 loc) · 858 Bytes
/
andcat.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
#:kivy 1.9.0
#:import SendFileChoser filechoosers.SendFileChooser
#:import RecvFileChooser filechoosers.RecvFileChooser
#:import AndCatIPInput inputs.AndCatIPInput
#:import AndCatPortInput inputs.AndCatPortInput
<ScreenMan>:
Screen:
name: 'main'
AndCatGrid:
id: _main_screen
cols: 1
rows: 4
AndCatLogo:
AndCatBtn:
text: 'Send File'
on_press: root.current = 'send_file'
AndCatBtn:
text: 'Receive File'
on_press: root.current = 'recv_file'
AndCatBtn:
text: 'About'
on_press: root.current = 'about'
Screen:
name: 'send_file'
SendFile:
Screen:
name: 'recv_file'
RecvFile:
Screen:
name: 'about'
About: