def __init__(self,**kwargs):
super(WordUI, self).__init__(**kwargs)
self.cols=2
#adding text label
self.add_widget(Label(text="insert the words:"))
#adding text Input
self.letttersinput = TextInput(multiline=False)
self.add_widget(self.letttersinput)
#adding the action button
self.add_widget(Button(text="Generate", on_press=self.game , pos=(50, 100)))
AndroidKivyApp_Letters2Words.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录