Kivy tutorial 001: Say Hello – Kivy Blog
Central themes: Starting an App, getting Kivy running
中心主题: 开始一个App, 让Kivy跑起来
It’s essentially compulsory that the introduction to any programming project should be a “Hello World!” application. Since Kivy is a GUI framework, that means opening a window and displaying the words on the screen. Start by adding each of the following lines to your program:
介绍任何项目对象应该是一个"Hello World!"应用程序时 有必要并且重要的。 因为Kivy时一个GUI框架,这意味着打开一个窗口, 在屏幕上展示文字。通过在你的项目中添加下面的行开始:
from kivy.app import App
This imports the App class, which you’ll use as the core object of any Kivy application. Your instance of this class will create the Kivy window and serve as the top level of your applicat

最低0.47元/天 解锁文章
959

被折叠的 条评论
为什么被折叠?



