Skip to content

Commit 31da5b4

Browse files
committed
doc: grammar corrections to uix/widget.py
1 parent 05f1e20 commit 31da5b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

kivy/uix/widget.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ def redraw(self, args):
118118
---------------------------
119119
120120
When you catch touch events between multiple widgets, you often
121-
need to be aware of the order in which these events are propogated. In Kivy,
121+
need to be aware of the order in which these events are propagated. In Kivy,
122122
events bubble up from the first child upwards through the other children.
123-
If a widget has children, the event is passed through it's children before
123+
If a widget has children, the event is passed through its children before
124124
being passed on to the widget after it.
125125
126126
As the :meth:`~kivy.uix.widget.Widget.on_touch_up` method inserts widgets at
@@ -160,13 +160,13 @@ def redraw(self, args):
160160
161161
would result in the event order "c", "b" then "a" as "c" was actually the last
162162
added widget. It thus has index 0, "b" index 1 and "c" index 2. Effectively,
163-
the child order is the reverse of it's listed order.
163+
the child order is the reverse of its listed order.
164164
165165
This ordering is the same for the :meth:`~kivy.uix.widget.Widget.on_touch_move`
166166
and :meth:`~kivy.uix.widget.Widget.on_touch_up` events.
167167
168168
In order to stop this event bubbling, a method can return `True`. This tells
169-
Kivy the event has been handled and the event propogation stops. For example:
169+
Kivy the event has been handled and the event propagation stops. For example:
170170
171171
.. code-block:: python
172172
@@ -180,7 +180,7 @@ def on_touch_down(self, touch):
180180
181181
This approach gives you good control over exactly how events are dispatched
182182
and managed. Sometimes, however, you may wish to let the event be completely
183-
propogated before taking action. You can use the
183+
propagated before taking action. You can use the
184184
:class:`~kivy.clock.Clock` to help you here:
185185
186186
.. code-block:: python

0 commit comments

Comments
 (0)