comparison src/libs/garden/garden.contextmenu/app_menu.kv @ 83:741a7d6d8c28

garden: added contextmenu
author Goffi <goffi@goffi.org>
date Sat, 24 Dec 2016 14:16:58 +0100
parents
children 2caee196d19a
comparison
equal deleted inserted replaced
82:4c6d56c069d9 83:741a7d6d8c28
1 <AppMenu>:
2 height: 30
3 size_hint: 1, None
4
5 canvas.before:
6 Color:
7 rgb: 0.2, 0.2, 0.2
8 Rectangle:
9 pos: self.pos
10 size: self.size
11
12
13 <AppMenuTextItem>:
14 disabled: True
15 size_hint: None, None
16 on_children: self._check_submenu()
17 background_normal: ""
18 background_down: ""
19 background_color: (0.2, 0.71, 0.9, 1.0) if self.state == 'down' else (0.2, 0.2, 0.2, 1.0)
20 background_disabled_normal: ""
21 background_disabled_down: ""
22 border: (0, 0, 0, 0)
23 size: self.texture_size[0], 30
24 padding_x: 10