我的代码:
.py 文件:
class Picture(Image):
pass
class blablabla(HatWidget):
...
self.add_widget(Picture(sourse='paper.png'))
.kv 文件:
<Picture>:
canvas:
Color:
rgb: (1, 1, 1)
Rectangle:
texture: self.texture
size: self.size
pos: self.pos
但我只有一个白屏