comparison src/cagou/kv/root_widget.kv @ 85:c2a7234d13d2

menu: use of garden's contextmenu for menus
author Goffi <goffi@goffi.org>
date Sat, 24 Dec 2016 14:20:49 +0100
parents 3608fef1857d
children c439c271ecdd
comparison
equal deleted inserted replaced
84:2caee196d19a 85:c2a7234d13d2
65 allow_stretch: True 65 allow_stretch: True
66 source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if self.notifs else app.expand("{media}/misc/black.png") 66 source: app.expand("{media}/icons/muchoslava/png/cagou_profil_bleu_32.png") if self.notifs else app.expand("{media}/misc/black.png")
67 size_hint: None, 1 67 size_hint: None, 1
68 width: self.norm_image_size[0] 68 width: self.norm_image_size[0]
69 69
70 <RootMenus>:
71 size_hint: 1, None
72 pos_hint: {'top': 1}
73
74 <CagouRootWidget>:
75 root_body: root_body
76 root_menus: root_menus
77 # main body
78 RootBody:
79 id: root_body
80 orientation: "vertical"
81 size_hint: 1, None
82 height: root.height - root_menus.height
83 # general menus
84 # need to be added at the end so it's drawed above other widgets
85 RootMenus:
86 id: root_menus