def close_button(self):
the_button = ui.Button(title='X')
the_button.x = self.width - the_button.width
the_button.y = the_button.height / 2
the_button.action = self.close_action
the_button.font=('<system-bold>', 20)
return the_button
评论列表
文章目录