kivy/examples/kv/app_logo.kv

28 lines
485 B
Plaintext
Raw Normal View History

Widget:
Video:
source: '/home/tito/code/pymt/examples/apps/videoplayer/softboy.avi'
play: mybutton.state == 'down'
canvas:
Color:
rgb: (1, 1, 1)
BorderImage:
texture: self.texture
size: self.texture_size
Image:
source: '../kivy.jpg'
canvas:
PushMatrix:
Rotate:
angle: 1
BorderImage:
border: 250, 250, 250, 250
texture: self.texture
size: self.texture_size
PopMatrix:
Button:
id: mybutton
text: 'Push me'
pos: 100, 100