#:kivy 1.10.1 # # add comment ImagechgWidget: : BoxLayout: size: root.size orientation: "vertical" Image: id: image1 size_hint_y: 0.9 texture: root.image_texture canvas.before: Color: rgba: 0, 0, 0, 1 Rectangle: pos: self.pos size: self.size Label: id: label_pathname text: root.text font_size: 16 size_hint_y: 0.05 color: 0.8, 0.8, 0.8, 1 canvas.before: Color: rgba: 0.2, 0.2, 0.2, 1 Rectangle: pos: self.pos size: self.size BoxLayout: size_hint_y: 0.05 Button: id: button1 text: "Image 1" on_press: root.buttonClicked() Button: id: button2 text: "Image 2" on_press: root.buttonClicked2() Button: id: button3 text: "Image 3" on_press: root.buttonClicked3()