mirror of https://github.com/kivy/kivy.git
small corrections to guide2
This commit is contained in:
parent
51116d562d
commit
6cbd874b10
|
@ -45,7 +45,7 @@ Creating a kivy application is as simple as:
|
|||
instantiating this class, and call its :meth:`kiyv.app.App.run`
|
||||
method.
|
||||
|
||||
here is an example of such a minimum application::
|
||||
Here is an example of such a minimal application::
|
||||
|
||||
from kivy.app import App
|
||||
from kivy.uix.label import Label
|
||||
|
@ -59,6 +59,7 @@ here is an example of such a minimum application::
|
|||
if __name__ == '__main__':
|
||||
MyApp().run()
|
||||
|
||||
You can save this to a text file, `main.py` for example, and run it.
|
||||
|
||||
Running the application
|
||||
-----------------------
|
||||
|
|
|
@ -68,7 +68,7 @@ Introduction to properties
|
|||
--------------------------
|
||||
|
||||
Properties are an awesome way to define events and bind to them, it basically
|
||||
produce events when the attributes to your object changes, so you can bind
|
||||
produce events when the attributes of your object changes, so you can bind
|
||||
actions to the change of these values.
|
||||
|
||||
There are different kind of properties to describe the type of data you want to
|
||||
|
|
|
@ -64,7 +64,7 @@ polygon, to more complex ones, like meshes or bezier curves::
|
|||
Manipulating instructions
|
||||
-------------------------
|
||||
|
||||
Sometime, you want to update or remove the instructions you added to an canvas,
|
||||
Sometime, you want to update or remove the instructions you added to a canvas,
|
||||
this can be done in various ways depending on your needs:
|
||||
|
||||
You can keep a reference to your instruction and update them::
|
||||
|
|
Loading…
Reference in New Issue